aboutsummaryrefslogtreecommitdiffstats
path: root/spec
diff options
context:
space:
mode:
authorBryan Helmkamp <bryan@brynary.com>2008-04-13 16:24:51 -0400
committerBryan Helmkamp <bryan@brynary.com>2008-04-13 16:24:51 -0400
commitbfcb7ca25d86491fb4e1edeb463a99006f6c7151 (patch)
tree605521a78122d7e5030296b919740d55fafc17a4 /spec
parent8feaf2b8bd0c2c9fcc137c7f5fa5f30b74fa35ef (diff)
downloadrails-bfcb7ca25d86491fb4e1edeb463a99006f6c7151.tar.gz
rails-bfcb7ca25d86491fb4e1edeb463a99006f6c7151.tar.bz2
rails-bfcb7ca25d86491fb4e1edeb463a99006f6c7151.zip
Remove duplicate Insertion spec
Diffstat (limited to 'spec')
-rw-r--r--spec/active_relation/unit/relations/insertion_spec.rb14
1 files changed, 0 insertions, 14 deletions
diff --git a/spec/active_relation/unit/relations/insertion_spec.rb b/spec/active_relation/unit/relations/insertion_spec.rb
index e01e7792e2..7aca7f24c1 100644
--- a/spec/active_relation/unit/relations/insertion_spec.rb
+++ b/spec/active_relation/unit/relations/insertion_spec.rb
@@ -34,20 +34,6 @@ module ActiveRelation
")
end
end
-
- describe 'when given values whose types correspond to the type of the attribtues' do
- before do
- @insertion = Insertion.new(@relation, @relation[:name] => "nick")
- end
-
- it 'manufactures sql inserting data' do
- @insertion.to_sql.should be_like("
- INSERT
- INTO `users`
- (`users`.`name`) VALUES ('nick')
- ")
- end
- end
end
describe '#call' do