aboutsummaryrefslogtreecommitdiffstats
path: root/spec/models
diff options
context:
space:
mode:
Diffstat (limited to 'spec/models')
-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 ec1236a5d..870e3efb8 100644
--- a/spec/models/user_spec.rb
+++ b/spec/models/user_spec.rb
@@ -38,7 +38,7 @@ describe User, "showing the name" do
end
it 'should return a string when the user has been banned, not a SafeBuffer' do
- @user.name.type.should == String
+ @user.name.class.should == String
end
end