aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test/generators/actions_test.rb
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2013-01-06 20:44:17 -0800
committerJeremy Kemper <jeremy@bitsweat.net>2013-01-06 20:44:17 -0800
commit41abe9282d3bc72bc18b317baf3a1a6c67f682fd (patch)
tree3f1500ea344dbd9606627fd47c633e71af52ea8f /railties/test/generators/actions_test.rb
parent19b52d3f81080d8eacb78c94bd5957ef7c637d07 (diff)
parent009873aec89a4b843b41accf616b42b7a9917ba8 (diff)
downloadrails-41abe9282d3bc72bc18b317baf3a1a6c67f682fd.tar.gz
rails-41abe9282d3bc72bc18b317baf3a1a6c67f682fd.tar.bz2
rails-41abe9282d3bc72bc18b317baf3a1a6c67f682fd.zip
Merge pull request #8786 from jeremy/executables
Introduce ./bin for your app's executables: bin/bundle, bin/rails, bin/rake
Diffstat (limited to 'railties/test/generators/actions_test.rb')
-rw-r--r--railties/test/generators/actions_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/test/generators/actions_test.rb b/railties/test/generators/actions_test.rb
index 54734ed260..c9e9f33d4e 100644
--- a/railties/test/generators/actions_test.rb
+++ b/railties/test/generators/actions_test.rb
@@ -151,7 +151,7 @@ class ActionsTest < Rails::Generators::TestCase
end
def test_generate_should_run_script_generate_with_argument_and_options
- generator.expects(:run_ruby_script).once.with('script/rails generate model MyModel', verbose: false)
+ generator.expects(:run_ruby_script).once.with('bin/rails generate model MyModel', verbose: false)
action :generate, 'model', 'MyModel'
end