Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Do not use 1.9 hash syntax.

  • Loading branch information...
commit b1dd6880a9df13cd925089663b312b6018a9d288 1 parent b2f2b82
@ntalbott ntalbott authored
View
2  spec/ripple/attribute_methods_spec.rb
@@ -244,7 +244,7 @@
@widget.assign_attributes(:restricted => true)
@widget.restricted.should be_false
- @widget.assign_attributes({:restricted => true}, as: :admin)
+ @widget.assign_attributes({:restricted => true}, :as => :admin)
@widget.restricted.should be_true
end
View
2  spec/support/models/widget.rb
@@ -7,7 +7,7 @@ class Widget
property :restricted, Boolean, :default => false
attr_protected :manufactured
- attr_protected :restricted, as: :default
+ attr_protected :restricted, :as => :default
many :widget_parts
end
Please sign in to comment.
Something went wrong with that request. Please try again.