remove spec checking for exception raised when closing a closed connection as we don't do that anymore
This commit is contained in:
parent
3da993ce53
commit
c614c89216
@ -45,13 +45,6 @@ describe Mysql2::Client do
|
|||||||
@client.close.should be_nil
|
@client.close.should be_nil
|
||||||
end
|
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
|
it "should respond to #query" do
|
||||||
@client.should respond_to :query
|
@client.should respond_to :query
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user