get rid of some warnings

This commit is contained in:
Brian Lopez 2010-07-29 23:22:42 -07:00
parent 1e258c9d9c
commit 9eb3917328
2 changed files with 7 additions and 7 deletions

View File

@ -38,7 +38,7 @@ describe Mysql2::Client do
end end
it "should respond to #close" do it "should respond to #close" do
@client.should respond_to :close @client.should respond_to(:close)
end end
it "should be able to close properly" do it "should be able to close properly" do
@ -46,11 +46,11 @@ describe Mysql2::Client do
end end
it "should respond to #query" do it "should respond to #query" do
@client.should respond_to :query @client.should respond_to(:query)
end end
it "should respond to #escape" do it "should respond to #escape" do
@client.should respond_to :escape @client.should respond_to(:escape)
end end
it "#escape should return a new SQL-escape version of the passed string" do it "#escape should return a new SQL-escape version of the passed string" do
@ -63,7 +63,7 @@ describe Mysql2::Client do
end end
it "should respond to #info" do it "should respond to #info" do
@client.should respond_to :info @client.should respond_to(:info)
end end
it "#info should return a hash containing the client version ID and String" do it "#info should return a hash containing the client version ID and String" do
@ -95,7 +95,7 @@ describe Mysql2::Client do
end end
it "should respond to #server_info" do it "should respond to #server_info" do
@client.should respond_to :server_info @client.should respond_to(:server_info)
end end
it "#server_info should return a hash containing the client version ID and String" do it "#server_info should return a hash containing the client version ID and String" do
@ -127,7 +127,7 @@ describe Mysql2::Client do
end end
it "should respond to #socket" do it "should respond to #socket" do
@client.should respond_to :socket @client.should respond_to(:socket)
end end
it "#socket should return a Fixnum (file descriptor from C)" do it "#socket should return a Fixnum (file descriptor from C)" do

View File

@ -15,7 +15,7 @@ describe Mysql2::Result do
end end
it "should respond to #each" do it "should respond to #each" do
@result.should respond_to :each @result.should respond_to(:each)
end end
it "should raise a Mysql2::Error exception upon a bad query" do it "should raise a Mysql2::Error exception upon a bad query" do