mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
bad tests are bad
This commit is contained in:
parent
02fc45a057
commit
c9f1ab5365
1 changed files with 0 additions and 18 deletions
|
@ -78,24 +78,6 @@ class MysqlReservedWordTest < ActiveRecord::TestCase
|
||||||
self.use_instantiated_fixtures = true
|
self.use_instantiated_fixtures = true
|
||||||
self.use_transactional_fixtures = false
|
self.use_transactional_fixtures = false
|
||||||
|
|
||||||
#fixtures :group
|
|
||||||
|
|
||||||
def test_fixtures
|
|
||||||
f = create_test_fixtures :select, :distinct, :group, :values, :distincts_selects
|
|
||||||
|
|
||||||
assert_nothing_raised {
|
|
||||||
f.each do |x|
|
|
||||||
x.delete_existing_fixtures
|
|
||||||
end
|
|
||||||
}
|
|
||||||
|
|
||||||
assert_nothing_raised {
|
|
||||||
f.each do |x|
|
|
||||||
x.insert_fixtures
|
|
||||||
end
|
|
||||||
}
|
|
||||||
end
|
|
||||||
|
|
||||||
#activerecord model class with reserved-word table name
|
#activerecord model class with reserved-word table name
|
||||||
def test_activerecord_model
|
def test_activerecord_model
|
||||||
create_test_fixtures :select, :distinct, :group, :values, :distincts_selects
|
create_test_fixtures :select, :distinct, :group, :values, :distincts_selects
|
||||||
|
|
Loading…
Reference in a new issue