Permalink
Browse files

Merge pull request #6118 from arunagw/build_fix_master

build fix for SharedGeneratorTests
  • Loading branch information...
2 parents 07438f9 + 1206e88 commit a03da41906be52aabf1b90c02adb601f05b06a8e @josevalim josevalim committed May 2, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 railties/test/generators/shared_generator_tests.rb
@@ -104,13 +104,13 @@ def test_dev_option
generator([destination_root], :dev => true).expects(:bundle_command).with('install').once
quietly { generator.invoke_all }
rails_path = File.expand_path('../../..', Rails.root)
- assert_file 'Gemfile', /^gem\s+["']rails["'],\s+:path\s+=>\s+["']#{Regexp.escape(rails_path)}["']$/
+ assert_file 'Gemfile', /^gem\s+["']rails["'],\s+:path\s+:\s+["']#{Regexp.escape(rails_path)}["']$/
end
def test_edge_option
generator([destination_root], :edge => true).expects(:bundle_command).with('install').once
quietly { generator.invoke_all }
- assert_file 'Gemfile', %r{^gem\s+["']rails["'],\s+:github\s+=>\s+["']#{Regexp.escape("rails/rails")}["']$}
+ assert_file 'Gemfile', %r{^gem\s+["']rails["'],\s+:github\s+:\s+["']#{Regexp.escape("rails/rails")}["']$}
end
def test_skip_gemfile

0 comments on commit a03da41

Please sign in to comment.