From 9eb39173288b661816fdeb16ce7b806dfe2de2cb Mon Sep 17 00:00:00 2001 From: Brian Lopez Date: Thu, 29 Jul 2010 23:22:42 -0700 Subject: [PATCH] get rid of some warnings --- spec/mysql2/client_spec.rb | 12 ++++++------ spec/mysql2/result_spec.rb | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/spec/mysql2/client_spec.rb b/spec/mysql2/client_spec.rb index 065c129..7898390 100644 --- a/spec/mysql2/client_spec.rb +++ b/spec/mysql2/client_spec.rb @@ -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 diff --git a/spec/mysql2/result_spec.rb b/spec/mysql2/result_spec.rb index 2fa0bb8..900101a 100644 --- a/spec/mysql2/result_spec.rb +++ b/spec/mysql2/result_spec.rb @@ -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