Permalink
Browse files

Add arel branch to the tests

  • Loading branch information...
1 parent 460d2c7 commit 79c8defa90541ba46d1f241f2adc24674e640d1b @rafaelfranca rafaelfranca committed Mar 27, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 railties/test/generators/shared_generator_tests.rb
View
2 railties/test/generators/shared_generator_tests.rb
@@ -127,7 +127,7 @@ def test_edge_option
quietly { generator.invoke_all }
assert_file 'Gemfile', %r{^gem\s+["']rails["'],\s+:git\s+=>\s+["']#{Regexp.escape("git://github.com/rails/rails.git")}["'],\s+:branch\s+=>\s+["']3-2-stable["']$}
assert_file 'Gemfile', %r{^gem\s+["']journey["'],\s+:git\s+=>\s+["']#{Regexp.escape("git://github.com/rails/journey.git")}["']$}
- assert_file 'Gemfile', %r{^gem\s+["']arel["'],\s+:git\s+=>\s+["']#{Regexp.escape("git://github.com/rails/arel.git")}["']$}
+ assert_file 'Gemfile', %r{^gem\s+["']arel["'],\s+:git\s+=>\s+["']#{Regexp.escape("git://github.com/rails/arel.git")}["'].*$}
end
def test_skip_gemfile

0 comments on commit 79c8def

Please sign in to comment.