diff options
author | Bryan Helmkamp <bryan@brynary.com> | 2008-04-13 16:24:51 -0400 |
---|---|---|
committer | Bryan Helmkamp <bryan@brynary.com> | 2008-04-13 16:24:51 -0400 |
commit | bfcb7ca25d86491fb4e1edeb463a99006f6c7151 (patch) | |
tree | 605521a78122d7e5030296b919740d55fafc17a4 /spec | |
parent | 8feaf2b8bd0c2c9fcc137c7f5fa5f30b74fa35ef (diff) | |
download | rails-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.rb | 14 |
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 |