method
assert_no_file
v5.1.7 -
Show latest stable
- Class:
Rails::Generators::Testing::Assertions
assert_no_file(relative)public
Asserts a given file does not exist. You need to supply an absolute path or a path relative to the configured destination:
assert_no_file "config/random.rb"