mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Check if any sqlite files are not included in the gitignore
If the sqlite file name change in future version we this regexp should catch
This commit is contained in:
parent
9d8354c9d3
commit
b9440c36dd
1 changed files with 2 additions and 2 deletions
|
@ -420,7 +420,7 @@ class AppGeneratorTest < Rails::Generators::TestCase
|
|||
run_generator [destination_root, '--skip-active-record']
|
||||
|
||||
assert_file '.gitignore' do |content|
|
||||
assert_no_match(/sqlite3/, content)
|
||||
assert_no_match(/sqlite/i, content)
|
||||
end
|
||||
end
|
||||
|
||||
|
@ -428,7 +428,7 @@ class AppGeneratorTest < Rails::Generators::TestCase
|
|||
run_generator([destination_root, "-d", "mysql"])
|
||||
|
||||
assert_file '.gitignore' do |content|
|
||||
assert_no_match(/sqlite3/, content)
|
||||
assert_no_match(/sqlite/i, content)
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue