aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test/generators/app_generator_test.rb
diff options
context:
space:
mode:
authorYehuda Katz <wycats@gmail.com>2009-11-02 17:12:01 -0800
committerYehuda Katz <wycats@gmail.com>2009-11-02 17:12:01 -0800
commit14370e1aab6ddfb5b86cf50bd7e5abcebae0684c (patch)
tree431146dfb0b15c4507fd49bb7d6f18bd40ccf839 /railties/test/generators/app_generator_test.rb
parent976c2647240fd40a2b706ab5e41856cd47e7b212 (diff)
downloadrails-14370e1aab6ddfb5b86cf50bd7e5abcebae0684c.tar.gz
rails-14370e1aab6ddfb5b86cf50bd7e5abcebae0684c.tar.bz2
rails-14370e1aab6ddfb5b86cf50bd7e5abcebae0684c.zip
CI breakage
This reverts commit a288b74f1c75c6f100de7611a5093a421f1ad6d1.
Diffstat (limited to 'railties/test/generators/app_generator_test.rb')
-rw-r--r--railties/test/generators/app_generator_test.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/railties/test/generators/app_generator_test.rb b/railties/test/generators/app_generator_test.rb
index c44d25b72c..20f2a24e6d 100644
--- a/railties/test/generators/app_generator_test.rb
+++ b/railties/test/generators/app_generator_test.rb
@@ -126,7 +126,7 @@ class AppGeneratorTest < GeneratorsTestCase
def test_template_from_dir_pwd
FileUtils.cd(Rails.root)
- assert_match /It works from file!/, run_generator(["-m", "../lib/template.rb"])
+ assert_match /It works from file!/, run_generator(["-m", "lib/template.rb"])
end
def test_template_raises_an_error_with_invalid_path
@@ -170,7 +170,7 @@ class AppGeneratorTest < GeneratorsTestCase
end
def generator(options={})
- @generator ||= Rails::Generators::AppGenerator.new([destination_root], options)
+ @generator ||= Rails::Generators::AppGenerator.new([destination_root], options, :destination_root => destination_root)
end
def action(*args, &block)