aboutsummaryrefslogtreecommitdiffstats
path: root/spec/arel/engines/memory/unit/relations
diff options
context:
space:
mode:
authorCarl Lerche <carllerche@mac.com>2010-03-12 12:51:20 -0800
committerCarl Lerche <carllerche@mac.com>2010-03-12 12:52:07 -0800
commit83c27c0b5e2e341307b7a160d831fb930a9552b4 (patch)
treefc41004d425cbc9827e82f550959ed40e8c12978 /spec/arel/engines/memory/unit/relations
parent602722922c8365afcb3e9bed3721d61756322353 (diff)
downloadrails-83c27c0b5e2e341307b7a160d831fb930a9552b4.tar.gz
rails-83c27c0b5e2e341307b7a160d831fb930a9552b4.tar.bz2
rails-83c27c0b5e2e341307b7a160d831fb930a9552b4.zip
Attributes should be typed
Diffstat (limited to 'spec/arel/engines/memory/unit/relations')
-rw-r--r--spec/arel/engines/memory/unit/relations/array_spec.rb2
-rw-r--r--spec/arel/engines/memory/unit/relations/insert_spec.rb2
-rw-r--r--spec/arel/engines/memory/unit/relations/join_spec.rb2
-rw-r--r--spec/arel/engines/memory/unit/relations/order_spec.rb2
-rw-r--r--spec/arel/engines/memory/unit/relations/project_spec.rb2
-rw-r--r--spec/arel/engines/memory/unit/relations/skip_spec.rb2
-rw-r--r--spec/arel/engines/memory/unit/relations/take_spec.rb2
-rw-r--r--spec/arel/engines/memory/unit/relations/where_spec.rb2
8 files changed, 8 insertions, 8 deletions
diff --git a/spec/arel/engines/memory/unit/relations/array_spec.rb b/spec/arel/engines/memory/unit/relations/array_spec.rb
index 9a834148b1..dcec2afa19 100644
--- a/spec/arel/engines/memory/unit/relations/array_spec.rb
+++ b/spec/arel/engines/memory/unit/relations/array_spec.rb
@@ -7,7 +7,7 @@ module Arel
[1, 'duck' ],
[2, 'duck' ],
[3, 'goose']
- ], [:id, :name])
+ ], [[:id, Attributes::Integer], [:name, Attributes::String]])
end
describe '#attributes' do
diff --git a/spec/arel/engines/memory/unit/relations/insert_spec.rb b/spec/arel/engines/memory/unit/relations/insert_spec.rb
index 222e525c7b..987e708e0b 100644
--- a/spec/arel/engines/memory/unit/relations/insert_spec.rb
+++ b/spec/arel/engines/memory/unit/relations/insert_spec.rb
@@ -7,7 +7,7 @@ module Arel
[1, 'duck' ],
[2, 'duck' ],
[3, 'goose']
- ], [:id, :name])
+ ], [[:id, Attributes::Integer], [:name, Attributes::String]])
end
describe '#call' do
diff --git a/spec/arel/engines/memory/unit/relations/join_spec.rb b/spec/arel/engines/memory/unit/relations/join_spec.rb
index 112434ae1d..ed5fe89ef0 100644
--- a/spec/arel/engines/memory/unit/relations/join_spec.rb
+++ b/spec/arel/engines/memory/unit/relations/join_spec.rb
@@ -7,7 +7,7 @@ module Arel
[1, 'duck' ],
[2, 'duck' ],
[3, 'goose']
- ], [:id, :name])
+ ], [[:id, Attributes::Integer], [:name, Attributes::String]])
@relation2 = @relation1.alias
end
diff --git a/spec/arel/engines/memory/unit/relations/order_spec.rb b/spec/arel/engines/memory/unit/relations/order_spec.rb
index 21d77a2a24..9546449bfb 100644
--- a/spec/arel/engines/memory/unit/relations/order_spec.rb
+++ b/spec/arel/engines/memory/unit/relations/order_spec.rb
@@ -7,7 +7,7 @@ module Arel
[1, 'duck' ],
[2, 'duck' ],
[3, 'goose']
- ], [:id, :name])
+ ], [[:id, Attributes::Integer], [:name, Attributes::String]])
end
describe '#call' do
diff --git a/spec/arel/engines/memory/unit/relations/project_spec.rb b/spec/arel/engines/memory/unit/relations/project_spec.rb
index e688b93a39..92ed9fa74b 100644
--- a/spec/arel/engines/memory/unit/relations/project_spec.rb
+++ b/spec/arel/engines/memory/unit/relations/project_spec.rb
@@ -7,7 +7,7 @@ module Arel
[1, 'duck' ],
[2, 'duck' ],
[3, 'goose']
- ], [:id, :name])
+ ], [[:id, Attributes::Integer], [:name, Attributes::String]])
end
describe '#call' do
diff --git a/spec/arel/engines/memory/unit/relations/skip_spec.rb b/spec/arel/engines/memory/unit/relations/skip_spec.rb
index 0c2077db80..089db24cea 100644
--- a/spec/arel/engines/memory/unit/relations/skip_spec.rb
+++ b/spec/arel/engines/memory/unit/relations/skip_spec.rb
@@ -7,7 +7,7 @@ module Arel
[1, 'duck' ],
[2, 'duck' ],
[3, 'goose']
- ], [:id, :name])
+ ], [[:id, Attributes::Integer], [:name, Attributes::String]])
end
describe '#call' do
diff --git a/spec/arel/engines/memory/unit/relations/take_spec.rb b/spec/arel/engines/memory/unit/relations/take_spec.rb
index 4b08a63d22..16b99872c5 100644
--- a/spec/arel/engines/memory/unit/relations/take_spec.rb
+++ b/spec/arel/engines/memory/unit/relations/take_spec.rb
@@ -7,7 +7,7 @@ module Arel
[1, 'duck' ],
[2, 'duck' ],
[3, 'goose']
- ], [:id, :name])
+ ], [[:id, Attributes::Integer], [:name, Attributes::String]])
end
describe '#call' do
diff --git a/spec/arel/engines/memory/unit/relations/where_spec.rb b/spec/arel/engines/memory/unit/relations/where_spec.rb
index 8d0af4b52d..b45c009d83 100644
--- a/spec/arel/engines/memory/unit/relations/where_spec.rb
+++ b/spec/arel/engines/memory/unit/relations/where_spec.rb
@@ -7,7 +7,7 @@ module Arel
[1, 'duck' ],
[2, 'duck' ],
[3, 'goose']
- ], [:id, :name])
+ ], [[:id, Attributes::Integer], [:name, Attributes::String]])
end
describe '#call' do