aboutsummaryrefslogtreecommitdiffstats
path: root/spec/integration
diff options
context:
space:
mode:
authorNick Kallen <nkallen@nick-kallens-computer-2.local>2008-01-05 15:38:03 -0800
committerNick Kallen <nkallen@nick-kallens-computer-2.local>2008-01-05 15:38:03 -0800
commit648209d11f16243a9f073b177e6b32ce8c094408 (patch)
tree2a5bff6d25c7715e4395c0745865340d65e47a97 /spec/integration
parentd1e5265a1db424e7361878772d32ae4ec39babe2 (diff)
downloadrails-648209d11f16243a9f073b177e6b32ce8c094408.tar.gz
rails-648209d11f16243a9f073b177e6b32ce8c094408.tar.bz2
rails-648209d11f16243a9f073b177e6b32ce8c094408.zip
minor cleanup
Diffstat (limited to 'spec/integration')
-rw-r--r--spec/integration/scratch_spec.rb5
1 files changed, 3 insertions, 2 deletions
diff --git a/spec/integration/scratch_spec.rb b/spec/integration/scratch_spec.rb
index b19f1a5234..725ac755c0 100644
--- a/spec/integration/scratch_spec.rb
+++ b/spec/integration/scratch_spec.rb
@@ -11,7 +11,7 @@ describe 'Relational Algebra' do
end
it 'simulates User.has_many :photos' do
- @user_photos.project(*@photos.attributes).to_sql.to_s.should be_like("""
+ @user_photos.project(*@photos.attributes).to_s.should be_like("""
SELECT photos.id, photos.user_id, photos.camera_id
FROM users
LEFT OUTER JOIN photos
@@ -22,7 +22,7 @@ describe 'Relational Algebra' do
end
it 'simulates a User.has_many :cameras :through => :photos' do
- @user_cameras.project(*@cameras.attributes).to_sql.to_s.should be_like("""
+ @user_cameras.project(*@cameras.attributes).to_s.should be_like("""
SELECT cameras.id
FROM users
LEFT OUTER JOIN photos
@@ -35,6 +35,7 @@ describe 'Relational Algebra' do
end
it '' do
+ # @user_cameras.qualify.to_s
#
# @users.rename()
end