diff options
Diffstat (limited to 'railties/test/railties/shared_tests.rb')
-rw-r--r-- | railties/test/railties/shared_tests.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/railties/test/railties/shared_tests.rb b/railties/test/railties/shared_tests.rb index 5cd1818f4b..46bab2a47b 100644 --- a/railties/test/railties/shared_tests.rb +++ b/railties/test/railties/shared_tests.rb @@ -32,13 +32,13 @@ module RailtiesTest end end - def test_copying_assets + def test_copying_public @plugin.write "public/javascripts/foo.js", "doSomething()" @plugin.write "public/stylesheets/foo.css", "h1 { font-size: 10000px }" @plugin.write "public/images/img.png", "" Dir.chdir(app_path) do - `rake bukkits:install:assets --trace` + `rake bukkits:install:public --trace` assert File.exists?(app_path("public/bukkits/javascripts/foo.js")) assert_equal "doSomething()\n", File.read(app_path("public/bukkits/javascripts/foo.js")) |