diff options
author | José Valim <jose.valim@gmail.com> | 2009-07-03 15:12:18 +0200 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2009-07-03 15:12:18 +0200 |
commit | 44633dc7a587424d21917413500b2d71fa3d31bb (patch) | |
tree | 75601c36883e3ea050882e6cb7f241c0d37f2637 /railties/lib/commands | |
parent | 21db04818e0120a35912cbf57663dfecc9bec4a3 (diff) | |
download | rails-44633dc7a587424d21917413500b2d71fa3d31bb.tar.gz rails-44633dc7a587424d21917413500b2d71fa3d31bb.tar.bz2 rails-44633dc7a587424d21917413500b2d71fa3d31bb.zip |
Add some tests for no_color! behavior.
Diffstat (limited to 'railties/lib/commands')
-rw-r--r-- | railties/lib/commands/destroy.rb | 2 | ||||
-rwxr-xr-x | railties/lib/commands/generate.rb | 2 | ||||
-rw-r--r-- | railties/lib/commands/update.rb | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/railties/lib/commands/destroy.rb b/railties/lib/commands/destroy.rb index 204477b738..075fe5bb12 100644 --- a/railties/lib/commands/destroy.rb +++ b/railties/lib/commands/destroy.rb @@ -7,4 +7,4 @@ if ARGV.size == 0 end name = ARGV.shift -Rails::Generators.invoke name, ARGV, :revoke +Rails::Generators.invoke name, ARGV, :behavior => :revoke diff --git a/railties/lib/commands/generate.rb b/railties/lib/commands/generate.rb index 7d133a179e..f6db965960 100755 --- a/railties/lib/commands/generate.rb +++ b/railties/lib/commands/generate.rb @@ -7,4 +7,4 @@ if ARGV.size == 0 end name = ARGV.shift -Rails::Generators.invoke name, ARGV, :invoke +Rails::Generators.invoke name, ARGV, :behavior => :invoke diff --git a/railties/lib/commands/update.rb b/railties/lib/commands/update.rb index 0c14355f24..50b7d73e0e 100644 --- a/railties/lib/commands/update.rb +++ b/railties/lib/commands/update.rb @@ -7,4 +7,4 @@ if ARGV.size == 0 end name = ARGV.shift -Rails::Generators.invoke name, ARGV, :skip +Rails::Generators.invoke name, ARGV, :behavior => :skip |