Permalink
Browse files

Merge pull request #145 from amco/ruby-1.8-compatible-specs

Use backwards compatible hash on design doc spec
  • Loading branch information...
2 parents 755c106 + 043b85e commit a3a40324bf32b85a29a067363442cd6ff8d268a8 @tapajos tapajos committed May 7, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 spec/unit/design_doc_spec.rb
@@ -220,7 +220,7 @@ class ::#{class_name} < CouchRest::Model::Base
end
it "is able to use predefined views" do
- model_class.by_name(key: "special").all
+ model_class.by_name(:key => "special").all
end
end
end

0 comments on commit a3a4032

Please sign in to comment.