aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLouise Crow <louise.crow@gmail.com>2013-05-28 11:47:19 +0100
committerLouise Crow <louise.crow@gmail.com>2013-05-28 11:47:19 +0100
commitbe85da72c90cd5e2ac14e61ebbbd620776ed82e2 (patch)
treed63d17474ae8fd937abea8fecdead0f4143efa58
parent8c3578d84c5d1e65c5dea61be1a6b8790d9f3ed3 (diff)
Use class instead of type - type is removed in Ruby 1.90.9.0.6hotfix/0.9.0.6
-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