diff options
author | Genadi Samokovarov <gsamokovarov@gmail.com> | 2016-01-25 18:26:20 +0200 |
---|---|---|
committer | Genadi Samokovarov <gsamokovarov@gmail.com> | 2016-01-26 00:27:49 +0200 |
commit | 38492590cf30bae0f4817c610bc0237ccdea7c1a (patch) | |
tree | 5052b1331d2bef18c49d4cdfcc28bcb31bcaa678 /railties/test/application | |
parent | 6dfab475ca230dfcad7a603483431c8e7a8f908e (diff) | |
download | rails-38492590cf30bae0f4817c610bc0237ccdea7c1a.tar.gz rails-38492590cf30bae0f4817c610bc0237ccdea7c1a.tar.bz2 rails-38492590cf30bae0f4817c610bc0237ccdea7c1a.zip |
Introduce new welcome page for new projects
As requested by David in 23233.
Diffstat (limited to 'railties/test/application')
-rw-r--r-- | railties/test/application/routing_test.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/railties/test/application/routing_test.rb b/railties/test/application/routing_test.rb index 0777714d35..e51f32aaed 100644 --- a/railties/test/application/routing_test.rb +++ b/railties/test/application/routing_test.rb @@ -42,8 +42,7 @@ module ApplicationTests test "root takes precedence over internal welcome controller" do app("development") - get '/' - assert_match %r{<h1>Getting started</h1>} , last_response.body + assert_welcome get('/') controller :foo, <<-RUBY class FooController < ApplicationController |