Remove whitespaces and add missing test.
This commit is contained in:
parent
f912a359aa
commit
c63600576a
@ -186,6 +186,13 @@ def test_file_is_added_for_backwards_compatibility
|
||||
assert_file 'lib/test_file.rb', 'heres test data'
|
||||
end
|
||||
|
||||
def test_test_unit_is_removed_from_frameworks_if_skip_test_unit_is_given
|
||||
run_generator [destination_root, "--skip-test-unit"]
|
||||
assert_file "config/application.rb" do |file|
|
||||
assert_match /config.generators.test_framework = false/, file
|
||||
end
|
||||
end
|
||||
|
||||
protected
|
||||
|
||||
def action(*args, &block)
|
||||
|
@ -18,7 +18,6 @@
|
||||
test/dummy
|
||||
)
|
||||
|
||||
|
||||
class PluginNewGeneratorTest < Rails::Generators::TestCase
|
||||
include GeneratorsTestHelper
|
||||
destination File.join(Rails.root, "tmp/bukkits")
|
||||
|
Loading…
Reference in New Issue
Block a user