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 f07b36d commit 8d194acCopy full SHA for 8d194ac
spec/mysql2/client_spec.rb
@@ -64,12 +64,13 @@ def connect *args
64
end
65
66
client = klient.new
67
- expect(client.connect_args.last[6] & (Mysql2::Client::REMEMBER_OPTIONS |
68
- Mysql2::Client::LONG_PASSWORD |
69
- Mysql2::Client::LONG_FLAG |
70
- Mysql2::Client::TRANSACTIONS |
71
- Mysql2::Client::PROTOCOL_41 |
72
- Mysql2::Client::SECURE_CONNECTION)).to be > 0
+ 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
73
+ expect(client.connect_args.last[6]).to eql(client_flags)
74
75
76
it "should execute init command" do
0 commit comments