Skip to content

Commit

Permalink
Fix specs
Browse files Browse the repository at this point in the history
  • Loading branch information
eddloschi committed Jan 14, 2014
1 parent aac694d commit 5b51428
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion spec/mongoid/giza/index/attribute_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
it "should be set on creation" do
name = "attribute"
attribute = Mongoid::Giza::Index::Attribute.new(name, :uint)
expect(attribute.name).to eql(name)
expect(attribute.name).to eql(name.to_sym)
end
end

Expand Down
2 changes: 1 addition & 1 deletion spec/mongoid/giza/index/field_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
it "should be set on creation" do
name = "field"
field = Mongoid::Giza::Index::Field.new(name)
expect(field.name).to eql(name)
expect(field.name).to eql(name.to_sym)
end
end

Expand Down

0 comments on commit 5b51428

Please sign in to comment.