Skip to content

Commit bbe52ea

Browse files
committed
These tests should_not raise exceptions issue #334
1 parent 1fb7ad5 commit bbe52ea

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spec/mysql2/client_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@
2424
it "should not raise an exception on create for a valid encoding" do
2525
lambda {
2626
c = Mysql2::Client.new(:encoding => "utf8")
27-
}.should raise_error(Mysql2::Error)
27+
}.should_not raise_error(Mysql2::Error)
2828

2929
lambda {
3030
c = Mysql2::Client.new(:encoding => "big5")
31-
}.should raise_error(Mysql2::Error)
31+
}.should_not raise_error(Mysql2::Error)
3232
end
3333
end
3434

0 commit comments

Comments
 (0)