We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c260b16 commit 1a4da92Copy full SHA for 1a4da92
spec/mysql2/client_spec.rb
@@ -66,12 +66,13 @@ def connect *args
66
end
67
68
client = klient.new
69
- (client.connect_args.last[6] & (Mysql2::Client::REMEMBER_OPTIONS |
70
- Mysql2::Client::LONG_PASSWORD |
71
- Mysql2::Client::LONG_FLAG |
72
- Mysql2::Client::TRANSACTIONS |
73
- Mysql2::Client::PROTOCOL_41 |
74
- Mysql2::Client::SECURE_CONNECTION)).should be_true
+ client_flags = Mysql2::Client::REMEMBER_OPTIONS |
+ Mysql2::Client::LONG_PASSWORD |
+ Mysql2::Client::LONG_FLAG |
+ Mysql2::Client::TRANSACTIONS |
+ Mysql2::Client::PROTOCOL_41 |
+ Mysql2::Client::SECURE_CONNECTION
75
+ client.connect_args.last[6].should eql(client_flags)
76
77
78
it "should execute init command" do
0 commit comments