Skip to content
Browse files

Fix Ruby warning from spec under 1.9.3

  • Loading branch information...
1 parent c41ab54 commit 78d16f329710f29517e3d8b09ee15f56e7463ebd @cgriego committed Apr 26, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 spec/unit/active_attr/attribute_definition_spec.rb
View
2 spec/unit/active_attr/attribute_definition_spec.rb
@@ -76,7 +76,7 @@ module ActiveAttr
it "generates attribute definition code for an attribute with multiple options sorted alphabetically" do
expected = %{attribute :first_name, :default => "John", :type => String}
- described_class.new(:first_name, :default => "John", :type => String).inspect.should == expected
+ described_class.new(:first_name, :default => "John", :type => String).inspect.should eq expected
described_class.new(:first_name, :type => String, :default => "John").inspect.should == expected
end

0 comments on commit 78d16f3

Please sign in to comment.
Something went wrong with that request. Please try again.