Permalink
Browse files

Do not use 1.9 hash syntax.

  • Loading branch information...
1 parent b2f2b82 commit b1dd6880a9df13cd925089663b312b6018a9d288 @ntalbott ntalbott committed Feb 20, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 spec/ripple/attribute_methods_spec.rb
  2. +1 −1 spec/support/models/widget.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
@@ -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

0 comments on commit b1dd688

Please sign in to comment.