Permalink
Browse files

1.8 compat Hash literal

  • Loading branch information...
dot committed Jun 14, 2012
1 parent 11c4468 commit 496071b6583c962d998d5ffe3dead9fa261dc7d4
Showing with 2 additions and 2 deletions.
  1. +2 −2 spec/unit/mongoid/validations/uniqueness_spec.rb
@@ -144,11 +144,11 @@
context "when the document is unique in not deleted" do
before do
Dictionary.create(name: "Oxford").destroy
Dictionary.create(:name => "Oxford").destroy
end
let(:dictionary) do
Dictionary.new(name: "Oxford")
Dictionary.new(:name => "Oxford")
end
it "returns true" do

0 comments on commit 496071b

Please sign in to comment.