From b451de0d6de4df6bc66b274cec73b919f823d5ae Mon Sep 17 00:00:00 2001 From: Santiago Pastorino Date: Sat, 14 Aug 2010 02:13:00 -0300 Subject: Deletes trailing whitespaces (over text files only find * -type f -exec sed 's/[ \t]*$//' -i {} \;) --- railties/test/generators/actions_test.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'railties/test/generators/actions_test.rb') diff --git a/railties/test/generators/actions_test.rb b/railties/test/generators/actions_test.rb index 0472ca73a8..f5473333ed 100644 --- a/railties/test/generators/actions_test.rb +++ b/railties/test/generators/actions_test.rb @@ -88,7 +88,7 @@ class ActionsTest < Rails::Generators::TestCase assert_deprecated do action :gem, 'thoughtbot-factory_girl', :require_as => 'factory_girl', :source => 'http://gems.github.com' - end + end assert_file 'Gemfile', /gem "mislav\-will\-paginate", :require => "will\-paginate"/ assert_file 'Gemfile', /source "http:\/\/gems\.github\.com"/ @@ -103,7 +103,7 @@ class ActionsTest < Rails::Generators::TestCase end assert_deprecated do - action :gem, 'rspec-rails', :only => %w(development test) + action :gem, 'rspec-rails', :only => %w(development test) end assert_file 'Gemfile', /gem "rspec", :group => \["development", "test"\]/ -- cgit v1.2.3