1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Change option description and update test names

This commit is contained in:
Melanie Gilman 2015-01-29 15:44:26 -05:00
parent 26b275030b
commit ec0f8ff23b
3 changed files with 3 additions and 3 deletions

View file

@ -70,7 +70,7 @@ module Rails
desc: 'Skip turbolinks gem'
class_option :skip_test, type: :boolean, aliases: '-T', default: false,
desc: 'Skip ActiveSupport::TestCase files'
desc: 'Skip test files'
class_option :rc, type: :string, default: false,
desc: "Path to file containing extra configuration options for rails command"

View file

@ -339,7 +339,7 @@ class PluginGeneratorTest < Rails::Generators::TestCase
end
end
def test_skipping_test_unit
def test_skipping_test_files
run_generator [destination_root, "--skip-test"]
assert_no_file "test"
assert_file "bukkits.gemspec" do |contents|

View file

@ -47,7 +47,7 @@ module SharedGeneratorTests
assert_match(/Invalid value for \-\-database option/, content)
end
def test_test_unit_is_skipped_if_required
def test_test_files_are_skipped_if_required
run_generator [destination_root, "--skip-test"]
assert_no_file "test"
end