Permalink
Browse files

Failing test for #6251

  • Loading branch information...
1 parent fa21b73 commit b14d1cd8aefac1895f83139c00ce130e89277c9f @drogus drogus committed May 10, 2012
Showing with 7 additions and 0 deletions.
  1. +7 −0 railties/test/generators/plugin_new_generator_test.rb
@@ -236,6 +236,13 @@ def test_passing_dummy_path_as_a_parameter
assert_no_file "test/dummy"
end
+ def test_creating_dummy_application_with_different_name
+ run_generator [destination_root, "--dummy_path", "spec/fake"]
+ assert_file "spec/fake"
+ assert_file "spec/fake/config/application.rb"
+ assert_no_file "test/dummy"
+ end
+
def test_creating_dummy_without_tests_but_with_dummy_path
run_generator [destination_root, "--dummy_path", "spec/dummy", "--skip-test-unit"]
assert_file "spec/dummy"

0 comments on commit b14d1cd

Please sign in to comment.