remove spec checking for exception raised when closing a closed connection as we don't do that anymore

This commit is contained in:
Brian Lopez 2010-07-21 13:14:43 -07:00
parent 3da993ce53
commit c614c89216

View File

@ -45,13 +45,6 @@ describe Mysql2::Client do
@client.close.should be_nil
end
it "should raise an exception when closed twice" do
@client.close.should be_nil
lambda {
@client.close
}.should raise_error(Mysql2::Error)
end
it "should respond to #query" do
@client.should respond_to :query
end