parent
f06ce4c12a
commit
0cb327c549
@ -285,5 +285,12 @@ def test_template_load_initializers
|
||||
|
||||
assert_match(/Hello, World!/, output)
|
||||
end
|
||||
|
||||
def test_tmp_clear_should_work_if_folder_missing
|
||||
FileUtils.remove_dir("#{app_path}/tmp")
|
||||
errormsg = Dir.chdir(app_path) { `bundle exec rake tmp:clear` }
|
||||
assert_predicate $?, :success?
|
||||
assert_empty errormsg
|
||||
end
|
||||
end
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user