aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetteri Räty <betelgeuse@gentoo.org>2011-03-19 17:17:08 +0200
committerPetteri Räty <betelgeuse@gentoo.org>2011-03-19 17:17:08 +0200
commit3f5d745424ebb2fe39e6e7cb236a29d4eca8a9c8 (patch)
treeca8bde6b6eb7d6fb45e9c3088fd71e8cf5a22a4a
parentTypo fix reurn to return (diff)
downloadrecruiting-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.rb2
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)