Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix Ruby warning from spec under 1.9.3

  • Loading branch information...
commit 78d16f329710f29517e3d8b09ee15f56e7463ebd 1 parent c41ab54
@cgriego authored
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
Please sign in to comment.
Something went wrong with that request. Please try again.