features/fakes/fake_objects.feature in bogus-0.1.5 vs features/fakes/fake_objects.feature in bogus-0.1.6
- old
+ new
@@ -58,11 +58,11 @@
describe Student do
fake(:library)
it "does something" do
- expect(Student.learn(library)).to be_true
+ expect(Student.learn(library)).to be(true)
end
end
"""
Scenario: Taking the guesswork out of finding a class to copy
@@ -138,9 +138,9 @@
describe "library class fake" do
fake(:library)
it "is identified as Library" do
- expect(library?(library)).to be_true
+ expect(library?(library)).to be(true)
end
end
"""