spec/helpers_spec.rb in yaml-validator-0.1.9 vs spec/helpers_spec.rb in yaml-validator-0.1.10
- old
+ new
@@ -50,16 +50,16 @@
end
end
describe "#pluralization?" do
it "returns true when object has :one and :other" do
- Helpers.pluralization?(:one => 'one', :other => 'other').should be_true
+ Helpers.pluralization?(:one => 'one', :other => 'other').should be true
end
it "returns true when object has 'one' and 'other'" do
- Helpers.pluralization?('one' => 'one', 'other' => 'other').should be_true
+ Helpers.pluralization?('one' => 'one', 'other' => 'other').should be true
end
it "returns false for {}" do
- Helpers.pluralization?({}).should be_false
+ Helpers.pluralization?({}).should be false
end
end
end