mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Avoid defining the test if it does not need to when not on JRuby
This commit is contained in:
parent
72c96dea2d
commit
811604f3f7
1 changed files with 2 additions and 2 deletions
|
@ -251,8 +251,8 @@ class AppGeneratorTest < Rails::Generators::TestCase
|
|||
assert_gem "activerecord-jdbc-adapter"
|
||||
end
|
||||
|
||||
def test_config_jdbc_database_when_no_option_given
|
||||
if defined?(JRUBY_VERSION)
|
||||
if defined?(JRUBY_VERSION)
|
||||
def test_config_jdbc_database_when_no_option_given
|
||||
run_generator
|
||||
assert_file "config/database.yml", /sqlite3/
|
||||
assert_gem "activerecord-jdbcsqlite3-adapter"
|
||||
|
|
Loading…
Reference in a new issue