Skip to content
This repository
Browse code

Add arel branch to the tests

  • Loading branch information...
commit 79c8defa90541ba46d1f241f2adc24674e640d1b 1 parent 460d2c7
Rafael Mendonça França authored March 27, 2012
2  railties/test/generators/shared_generator_tests.rb
@@ -127,7 +127,7 @@ def test_edge_option
127 127
     quietly { generator.invoke_all }
128 128
     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["']$}
129 129
     assert_file 'Gemfile', %r{^gem\s+["']journey["'],\s+:git\s+=>\s+["']#{Regexp.escape("git://github.com/rails/journey.git")}["']$}
130  
-    assert_file 'Gemfile', %r{^gem\s+["']arel["'],\s+:git\s+=>\s+["']#{Regexp.escape("git://github.com/rails/arel.git")}["']$}
  130
+    assert_file 'Gemfile', %r{^gem\s+["']arel["'],\s+:git\s+=>\s+["']#{Regexp.escape("git://github.com/rails/arel.git")}["'].*$}
131 131
   end
132 132
 
133 133
   def test_skip_gemfile

0 notes on commit 79c8def

Please sign in to comment.
Something went wrong with that request. Please try again.