diff options
Diffstat (limited to 'spec/models/user_spec.rb')
-rw-r--r-- | spec/models/user_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/models/user_spec.rb b/spec/models/user_spec.rb index 6f43d5d..4fdbbcf 100644 --- a/spec/models/user_spec.rb +++ b/spec/models/user_spec.rb @@ -271,7 +271,7 @@ describe User do end end - it "should allow only administrator to destory" do + it "should allow only administrator to destroy" do user = Factory(:recruit) for u in fabricate_users(:recruit, :mentor, :recruiter) + [Guest.new] user.should_not be_destroyable_by(u) |