diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2013-01-06 16:13:47 -0700 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2013-01-06 21:41:36 -0700 |
commit | 009873aec89a4b843b41accf616b42b7a9917ba8 (patch) | |
tree | 3f1500ea344dbd9606627fd47c633e71af52ea8f /railties/test/generators/actions_test.rb | |
parent | 19b52d3f81080d8eacb78c94bd5957ef7c637d07 (diff) | |
download | rails-009873aec89a4b843b41accf616b42b7a9917ba8.tar.gz rails-009873aec89a4b843b41accf616b42b7a9917ba8.tar.bz2 rails-009873aec89a4b843b41accf616b42b7a9917ba8.zip |
Introduce ./bin for your app's executables: bin/bundle, bin/rails, bin/rake. Executable scripts are versioned code like the rest of your app. To generate a stub for a bundled gem: 'bundle binstubs unicorn' and 'git add bin/unicorn'
Diffstat (limited to 'railties/test/generators/actions_test.rb')
-rw-r--r-- | railties/test/generators/actions_test.rb | 2 |
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 |