mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
removing irrelevant test
This commit is contained in:
parent
fab9c2eaaa
commit
e4dac4750d
2 changed files with 1 additions and 18 deletions
|
@ -568,6 +568,7 @@ class Fixtures
|
|||
attr_reader :table_name, :name, :fixtures, :model_class
|
||||
|
||||
def initialize(connection, table_name, class_name, fixture_path, file_filter = DEFAULT_FILTER_RE)
|
||||
raise if file_filter != DEFAULT_FILTER_RE
|
||||
@connection = connection
|
||||
@table_name = table_name
|
||||
@fixture_path = fixture_path
|
||||
|
|
|
@ -78,24 +78,6 @@ class MysqlReservedWordTest < ActiveRecord::TestCase
|
|||
self.use_instantiated_fixtures = true
|
||||
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
|
||||
def test_activerecord_model
|
||||
create_test_fixtures :select, :distinct, :group, :values, :distincts_selects
|
||||
|
|
Loading…
Reference in a new issue