Skip to content

Commit 3301804

Browse files
committed
make bot happy
1 parent d8c0aa8 commit 3301804

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

actionview/test/abstract_unit.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ def config
9797
class ActionDispatch::IntegrationTest < ActiveSupport::TestCase
9898
def self.build_app(routes = nil)
9999
routes ||= ActionDispatch::Routing::RouteSet.new.tap { |rs|
100-
rs.draw { }
100+
rs.draw {}
101101
}
102102
RoutedRackApp.new(routes) do |middleware|
103103
middleware.use ActionDispatch::ShowExceptions, ActionDispatch::PublicExceptions.new("#{FIXTURE_LOAD_PATH}/public")

actionview/test/actionpack/controller/layout_test.rb

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ class LayoutAutoDiscoveryTest < ActionController::TestCase
4949
include TemplateHandlerHelper
5050

5151
with_routes do
52-
get :hello, to: 'views#hello'
52+
get :hello, to: "views#hello"
5353
end
5454

5555
def setup
@@ -153,8 +153,8 @@ class LayoutSetInResponseTest < ActionController::TestCase
153153
include TemplateHandlerHelper
154154

155155
with_routes do
156-
get :hello, to: 'views#hello'
157-
get :hello, to: 'views#goodbye'
156+
get :hello, to: "views#hello"
157+
get :hello, to: "views#goodbye"
158158
end
159159

160160
def test_layout_set_when_using_default_layout
@@ -244,7 +244,7 @@ class SetsNonExistentLayoutFile < LayoutTest
244244

245245
class LayoutExceptionRaisedTest < ActionController::TestCase
246246
with_routes do
247-
get :hello, to: 'views#hello'
247+
get :hello, to: "views#hello"
248248
end
249249

250250
def test_exception_raised_when_layout_file_not_found
@@ -261,7 +261,7 @@ def hello
261261

262262
class LayoutStatusIsRenderedTest < ActionController::TestCase
263263
with_routes do
264-
get :hello, to: 'views#hello'
264+
get :hello, to: "views#hello"
265265
end
266266

267267
def test_layout_status_is_rendered
@@ -278,7 +278,7 @@ class LayoutSymlinkedTest < LayoutTest
278278

279279
class LayoutSymlinkedIsRenderedTest < ActionController::TestCase
280280
with_routes do
281-
get :hello, to: 'views#hello'
281+
get :hello, to: "views#hello"
282282
end
283283

284284
def test_symlinked_layout_is_rendered

actionview/test/activerecord/polymorphic_routes_test.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ def self.use_relative_model_naming?
6363

6464
class PolymorphicRoutesTest < ActionController::TestCase
6565
Routes = ActionDispatch::Routing::RouteSet.new
66-
Routes.draw { }
66+
Routes.draw {}
6767
include Routes.url_helpers
6868

6969
default_url_options[:host] = "example.com"

actionview/test/template/erb/helper.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ def protect_against_forgery?() false end
1515
class BlockTestCase < ActiveSupport::TestCase
1616
def render_content(start, inside, routes = nil)
1717
routes ||= ActionDispatch::Routing::RouteSet.new.tap do |rs|
18-
rs.draw { }
18+
rs.draw {}
1919
end
2020
context = Class.new(ViewContext) {
2121
include routes.url_helpers

0 commit comments

Comments
 (0)