Remove redundant passing --skip-active-storage in test cases
These were added in #30101, after #31084 it became redundant.
This commit is contained in:
parent
89603b41ed
commit
d5ad63766e
@ -423,7 +423,7 @@ def test_config_postgresql_database
|
|||||||
end
|
end
|
||||||
|
|
||||||
def test_config_jdbcmysql_database
|
def test_config_jdbcmysql_database
|
||||||
run_generator([destination_root, "-d", "jdbcmysql", "--skip-active-storage"])
|
run_generator([destination_root, "-d", "jdbcmysql"])
|
||||||
assert_file "config/database.yml", /mysql/
|
assert_file "config/database.yml", /mysql/
|
||||||
assert_gem "activerecord-jdbcmysql-adapter"
|
assert_gem "activerecord-jdbcmysql-adapter"
|
||||||
end
|
end
|
||||||
@ -441,7 +441,7 @@ def test_config_jdbcpostgresql_database
|
|||||||
end
|
end
|
||||||
|
|
||||||
def test_config_jdbc_database
|
def test_config_jdbc_database
|
||||||
run_generator([destination_root, "-d", "jdbc", "--skip-active-storage"])
|
run_generator([destination_root, "-d", "jdbc"])
|
||||||
assert_file "config/database.yml", /jdbc/
|
assert_file "config/database.yml", /jdbc/
|
||||||
assert_file "config/database.yml", /mssql/
|
assert_file "config/database.yml", /mssql/
|
||||||
assert_gem "activerecord-jdbc-adapter"
|
assert_gem "activerecord-jdbc-adapter"
|
||||||
|
@ -230,7 +230,7 @@ def test_template_from_dir_pwd
|
|||||||
end
|
end
|
||||||
|
|
||||||
def test_ensure_that_tests_work
|
def test_ensure_that_tests_work
|
||||||
run_generator [destination_root, "--skip-active-storage"]
|
run_generator
|
||||||
FileUtils.cd destination_root
|
FileUtils.cd destination_root
|
||||||
quietly { system "bundle install" }
|
quietly { system "bundle install" }
|
||||||
assert_match(/1 runs, 1 assertions, 0 failures, 0 errors/, `bin/test 2>&1`)
|
assert_match(/1 runs, 1 assertions, 0 failures, 0 errors/, `bin/test 2>&1`)
|
||||||
|
@ -7,7 +7,7 @@ class PluginTestRunnerTest < ActiveSupport::TestCase
|
|||||||
|
|
||||||
def setup
|
def setup
|
||||||
@destination_root = Dir.mktmpdir("bukkits")
|
@destination_root = Dir.mktmpdir("bukkits")
|
||||||
Dir.chdir(@destination_root) { `bundle exec rails plugin new bukkits --skip-bundle --skip-active-storage` }
|
Dir.chdir(@destination_root) { `bundle exec rails plugin new bukkits --skip-bundle` }
|
||||||
plugin_file "test/dummy/db/schema.rb", ""
|
plugin_file "test/dummy/db/schema.rb", ""
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -63,7 +63,7 @@ def test_name_raises_an_error_if_name_already_used_constant
|
|||||||
end
|
end
|
||||||
|
|
||||||
def test_shebang_is_added_to_rails_file
|
def test_shebang_is_added_to_rails_file
|
||||||
run_generator [destination_root, "--ruby", "foo/bar/baz", "--full", "--skip-active-storage"]
|
run_generator [destination_root, "--ruby", "foo/bar/baz", "--full"]
|
||||||
assert_file "bin/rails", /#!foo\/bar\/baz/
|
assert_file "bin/rails", /#!foo\/bar\/baz/
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -7,7 +7,7 @@ class TestRunnerInEngineTest < ActiveSupport::TestCase
|
|||||||
|
|
||||||
def setup
|
def setup
|
||||||
@destination_root = Dir.mktmpdir("bukkits")
|
@destination_root = Dir.mktmpdir("bukkits")
|
||||||
Dir.chdir(@destination_root) { `bundle exec rails plugin new bukkits --full --skip-bundle --skip-active-storage` }
|
Dir.chdir(@destination_root) { `bundle exec rails plugin new bukkits --full --skip-bundle` }
|
||||||
plugin_file "test/dummy/db/schema.rb", ""
|
plugin_file "test/dummy/db/schema.rb", ""
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user