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 7efc5a4 commit 0654c5fCopy full SHA for 0654c5f
spec/unit/facter/mysql_server_id_spec.rb
@@ -14,7 +14,7 @@
14
end
15
16
it do
17
- Facter.fact(:mysql_server_id).value.to_s.should == '241857808'
+ expect(Facter.fact(:mysql_server_id).value).to be(241_857_808)
18
19
20
@@ -24,7 +24,7 @@
24
25
26
27
- Facter.fact(:mysql_server_id).value.to_s.should == '1'
+ expect(Facter.fact(:mysql_server_id).value).to be(1)
28
29
30
@@ -34,7 +34,7 @@
34
35
36
37
- Facter.fact(:mysql_server_id).value.to_s.should == ''
+ expect(Facter.fact(:mysql_server_id).value).to be(nil)
38
39
40
0 commit comments