diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2018-09-24 16:01:34 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2018-09-24 16:01:34 -0700 |
commit | 3301804ff6abcd5aae06cc5acbb82bc6a472f008 (patch) | |
tree | 3bb9c7a379bafe366900e2357f08246fffdbfcd6 | |
parent | d8c0aa88e055c9f08a729827544b186561a6c203 (diff) | |
download | rails-3301804ff6abcd5aae06cc5acbb82bc6a472f008.tar.gz rails-3301804ff6abcd5aae06cc5acbb82bc6a472f008.tar.bz2 rails-3301804ff6abcd5aae06cc5acbb82bc6a472f008.zip |
make bot happy
-rw-r--r-- | actionview/test/abstract_unit.rb | 2 | ||||
-rw-r--r-- | actionview/test/actionpack/controller/layout_test.rb | 12 | ||||
-rw-r--r-- | actionview/test/activerecord/polymorphic_routes_test.rb | 2 | ||||
-rw-r--r-- | actionview/test/template/erb/helper.rb | 2 |
4 files changed, 9 insertions, 9 deletions
diff --git a/actionview/test/abstract_unit.rb b/actionview/test/abstract_unit.rb index f842e2c76d..1d0edc0c1d 100644 --- a/actionview/test/abstract_unit.rb +++ b/actionview/test/abstract_unit.rb @@ -97,7 +97,7 @@ end class ActionDispatch::IntegrationTest < ActiveSupport::TestCase def self.build_app(routes = nil) routes ||= ActionDispatch::Routing::RouteSet.new.tap { |rs| - rs.draw { } + rs.draw {} } RoutedRackApp.new(routes) do |middleware| middleware.use ActionDispatch::ShowExceptions, ActionDispatch::PublicExceptions.new("#{FIXTURE_LOAD_PATH}/public") diff --git a/actionview/test/actionpack/controller/layout_test.rb b/actionview/test/actionpack/controller/layout_test.rb index 14acb737f9..6d5c97b7fd 100644 --- a/actionview/test/actionpack/controller/layout_test.rb +++ b/actionview/test/actionpack/controller/layout_test.rb @@ -49,7 +49,7 @@ class LayoutAutoDiscoveryTest < ActionController::TestCase include TemplateHandlerHelper with_routes do - get :hello, to: 'views#hello' + get :hello, to: "views#hello" end def setup @@ -153,8 +153,8 @@ class LayoutSetInResponseTest < ActionController::TestCase include TemplateHandlerHelper with_routes do - get :hello, to: 'views#hello' - get :hello, to: 'views#goodbye' + get :hello, to: "views#hello" + get :hello, to: "views#goodbye" end def test_layout_set_when_using_default_layout @@ -244,7 +244,7 @@ end class LayoutExceptionRaisedTest < ActionController::TestCase with_routes do - get :hello, to: 'views#hello' + get :hello, to: "views#hello" end def test_exception_raised_when_layout_file_not_found @@ -261,7 +261,7 @@ end class LayoutStatusIsRenderedTest < ActionController::TestCase with_routes do - get :hello, to: 'views#hello' + get :hello, to: "views#hello" end def test_layout_status_is_rendered @@ -278,7 +278,7 @@ unless Gem.win_platform? class LayoutSymlinkedIsRenderedTest < ActionController::TestCase with_routes do - get :hello, to: 'views#hello' + get :hello, to: "views#hello" end def test_symlinked_layout_is_rendered diff --git a/actionview/test/activerecord/polymorphic_routes_test.rb b/actionview/test/activerecord/polymorphic_routes_test.rb index 724129a7d9..25e05f6222 100644 --- a/actionview/test/activerecord/polymorphic_routes_test.rb +++ b/actionview/test/activerecord/polymorphic_routes_test.rb @@ -63,7 +63,7 @@ end class PolymorphicRoutesTest < ActionController::TestCase Routes = ActionDispatch::Routing::RouteSet.new - Routes.draw { } + Routes.draw {} include Routes.url_helpers default_url_options[:host] = "example.com" diff --git a/actionview/test/template/erb/helper.rb b/actionview/test/template/erb/helper.rb index 727cc3dcf2..2d31b19be8 100644 --- a/actionview/test/template/erb/helper.rb +++ b/actionview/test/template/erb/helper.rb @@ -15,7 +15,7 @@ module ERBTest class BlockTestCase < ActiveSupport::TestCase def render_content(start, inside, routes = nil) routes ||= ActionDispatch::Routing::RouteSet.new.tap do |rs| - rs.draw { } + rs.draw {} end context = Class.new(ViewContext) { include routes.url_helpers |