From 61a51a5ea356bbe6e6d0bc41e9334d384b4f2c73 Mon Sep 17 00:00:00 2001 From: Genadi Samokovarov Date: Tue, 8 Mar 2016 16:18:58 +0200 Subject: Fix the tests after e594000 --- railties/test/generators/app_generator_test.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'railties/test') diff --git a/railties/test/generators/app_generator_test.rb b/railties/test/generators/app_generator_test.rb index 839bb27b01..3bad7ff67b 100644 --- a/railties/test/generators/app_generator_test.rb +++ b/railties/test/generators/app_generator_test.rb @@ -632,7 +632,7 @@ class AppGeneratorTest < Rails::Generators::TestCase assert_file "Gemfile" do |content| assert_match(/gem 'web-console',\s+github: 'rails\/web-console'/, content) - assert_no_match(/gem 'web-console'/, content) + assert_no_match(/\Agem 'web-console'\z/, content) end end @@ -641,7 +641,7 @@ class AppGeneratorTest < Rails::Generators::TestCase assert_file "Gemfile" do |content| assert_match(/gem 'web-console',\s+github: 'rails\/web-console'/, content) - assert_no_match(/gem 'web-console'/, content) + assert_no_match(/\Agem 'web-console'\z/, content) end end -- cgit v1.2.3