spec/guards/guard_spec.rb in mspec-1.8.0 vs spec/guards/guard_spec.rb in mspec-1.9.0
- old
+ new
@@ -238,15 +238,15 @@
@guard = SpecGuard.new
end
it "returns true if #implementation? returns true" do
@guard.should_receive(:implementation?).with(:ruby).and_return(true)
- @guard.standard?.should be_true
+ @guard.standard?.should be_truthy
end
it "returns false if #implementation? returns false" do
@guard.should_receive(:implementation?).with(:ruby).and_return(false)
- @guard.standard?.should be_false
+ @guard.standard?.should be_falsey
end
end
describe SpecGuard, "#platform?" do
before :all do