Permalink
Browse files

Tests green on 1.9.2

  • Loading branch information...
1 parent 1f9de24 commit 64ada1b68e166609e56550ffcd4994b02a506ae0 @carlosantoniodasilva carlosantoniodasilva committed Feb 6, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 test/support/models.rb
View
@@ -24,7 +24,7 @@ class User < OpenStruct
extend ActiveModel::Naming
# Get rid of deprecation warnings
- undef_method :id
+ undef_method :id if respond_to?(:id)
def tags
Tag.all

0 comments on commit 64ada1b

Please sign in to comment.