get rid of some warnings
This commit is contained in:
parent
1e258c9d9c
commit
9eb3917328
|
@ -38,7 +38,7 @@ describe Mysql2::Client do
|
|||
end
|
||||
|
||||
it "should respond to #close" do
|
||||
@client.should respond_to :close
|
||||
@client.should respond_to(:close)
|
||||
end
|
||||
|
||||
it "should be able to close properly" do
|
||||
|
@ -46,11 +46,11 @@ describe Mysql2::Client do
|
|||
end
|
||||
|
||||
it "should respond to #query" do
|
||||
@client.should respond_to :query
|
||||
@client.should respond_to(:query)
|
||||
end
|
||||
|
||||
it "should respond to #escape" do
|
||||
@client.should respond_to :escape
|
||||
@client.should respond_to(:escape)
|
||||
end
|
||||
|
||||
it "#escape should return a new SQL-escape version of the passed string" do
|
||||
|
@ -63,7 +63,7 @@ describe Mysql2::Client do
|
|||
end
|
||||
|
||||
it "should respond to #info" do
|
||||
@client.should respond_to :info
|
||||
@client.should respond_to(:info)
|
||||
end
|
||||
|
||||
it "#info should return a hash containing the client version ID and String" do
|
||||
|
@ -95,7 +95,7 @@ describe Mysql2::Client do
|
|||
end
|
||||
|
||||
it "should respond to #server_info" do
|
||||
@client.should respond_to :server_info
|
||||
@client.should respond_to(:server_info)
|
||||
end
|
||||
|
||||
it "#server_info should return a hash containing the client version ID and String" do
|
||||
|
@ -127,7 +127,7 @@ describe Mysql2::Client do
|
|||
end
|
||||
|
||||
it "should respond to #socket" do
|
||||
@client.should respond_to :socket
|
||||
@client.should respond_to(:socket)
|
||||
end
|
||||
|
||||
it "#socket should return a Fixnum (file descriptor from C)" do
|
||||
|
|
|
@ -15,7 +15,7 @@ describe Mysql2::Result do
|
|||
end
|
||||
|
||||
it "should respond to #each" do
|
||||
@result.should respond_to :each
|
||||
@result.should respond_to(:each)
|
||||
end
|
||||
|
||||
it "should raise a Mysql2::Error exception upon a bad query" do
|
||||
|
|
Loading…
Reference in New Issue