diff options
author | Nick Kallen <nkallen@nick-kallens-computer-2.local> | 2008-02-24 22:19:32 -0800 |
---|---|---|
committer | Nick Kallen <nkallen@nick-kallens-computer-2.local> | 2008-02-24 22:19:32 -0800 |
commit | 92db013ba3ee4d0a9d92281e614d05f064c22e15 (patch) | |
tree | 23585e771ee1a2b1682f66a67d6b6891fab49f24 /spec/active_relation/unit/predicates/equality_spec.rb | |
parent | ecd072d21951573f59e9515b868224d3732dbdfa (diff) | |
download | rails-92db013ba3ee4d0a9d92281e614d05f064c22e15.tar.gz rails-92db013ba3ee4d0a9d92281e614d05f064c22e15.tar.bz2 rails-92db013ba3ee4d0a9d92281e614d05f064c22e15.zip |
quoting issues
Diffstat (limited to 'spec/active_relation/unit/predicates/equality_spec.rb')
-rw-r--r-- | spec/active_relation/unit/predicates/equality_spec.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/active_relation/unit/predicates/equality_spec.rb b/spec/active_relation/unit/predicates/equality_spec.rb index fd30846c70..499b13383d 100644 --- a/spec/active_relation/unit/predicates/equality_spec.rb +++ b/spec/active_relation/unit/predicates/equality_spec.rb @@ -3,10 +3,10 @@ require File.join(File.dirname(__FILE__), '..', '..', '..', 'spec_helper') module ActiveRelation describe Equality do before do - @relation1 = Table.new(:foo) - @relation2 = Table.new(:bar) - @attribute1 = Attribute.new(@relation1, :name) - @attribute2 = Attribute.new(@relation2, :name) + @relation1 = Table.new(:users) + @relation2 = Table.new(:photos) + @attribute1 = @relation1[:name] + @attribute2 = @relation2[:name] end describe '==' do |