diff options
author | Petteri Räty <betelgeuse@gentoo.org> | 2011-03-19 17:17:08 +0200 |
---|---|---|
committer | Petteri Räty <betelgeuse@gentoo.org> | 2011-03-19 17:17:08 +0200 |
commit | 3f5d745424ebb2fe39e6e7cb236a29d4eca8a9c8 (patch) | |
tree | ca8bde6b6eb7d6fb45e9c3088fd71e8cf5a22a4a | |
parent | Typo fix reurn to return (diff) | |
download | recruiting-webapp-3f5d745424ebb2fe39e6e7cb236a29d4eca8a9c8.tar.gz recruiting-webapp-3f5d745424ebb2fe39e6e7cb236a29d4eca8a9c8.tar.bz2 recruiting-webapp-3f5d745424ebb2fe39e6e7cb236a29d4eca8a9c8.zip |
Typo fix destory to destroy
-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) |