Permalink
Browse files

fixed specs related to last commit

  • Loading branch information...
1 parent 1d7e953 commit 3d7106ae601ed0192dab9ff30a2d0602c83841ea @EppO EppO committed Apr 25, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 spec/generators/rolify/role/role_generator_spec.rb
@@ -178,14 +178,14 @@ class User
it { should contain "has_and_belongs_to_many :users\n" }
it { should contain "belongs_to :resource, :polymorphic => true" }
it { should contain "field :name, :type => String" }
- it { should contain "index :name, unique: true" }
+ it { should contain "index :name, :unique => true" }
it { should contain " index(\n"
" [\n"
" [:name, Mongo::ASCENDING],\n"
" [:resource_type, Mongo::ASCENDING],\n"
" [:resource_id, Mongo::ASCENDING]\n"
" ],\n"
- " unique: true\n"
+ " unique => true\n"
" )\n" }
end

0 comments on commit 3d7106a

Please sign in to comment.