]> source.dussan.org Git - redmine.git/commitdiff
Fix typo in plugins_test.rb (#38707).
authorMarius Balteanu <marius.balteanu@zitec.com>
Mon, 23 Oct 2023 17:51:02 +0000 (17:51 +0000)
committerMarius Balteanu <marius.balteanu@zitec.com>
Mon, 23 Oct 2023 17:51:02 +0000 (17:51 +0000)
git-svn-id: https://svn.redmine.org/redmine/trunk@22371 e93f8b46-1217-0410-a6f0-8f06a7374b81

test/integration/routing/plugins_test.rb

index 161dfc00febca039f137e6c1620fa559b27f2ae4..74ecfcb98bc855be7ac461c4d2e454acc011d9c9 100644 (file)
@@ -27,7 +27,7 @@ class RoutingPluginsTest < Redmine::RoutingTest
       "config/routes.rb" => <<~ROUTES_CONTENT,
         resources :plugin_articles, only: %i[index]
       ROUTES_CONTENT
-      "app/contrtollers/plugin_articles_controller.rb" => <<~CONTROLLER_CONTENT
+      "app/controllers/plugin_articles_controller.rb" => <<~CONTROLLER_CONTENT
         class PluginArticlesController < ApplicationController
           def index
             render plain: "foo PluginArticlesController#index"
@@ -41,7 +41,7 @@ class RoutingPluginsTest < Redmine::RoutingTest
         # same path helper name with foo's
         get '/bar_plugin_articles', as: :plugin_articles, to: 'bar_plugin_articles#index'
       ROUTES_CONTENT
-      "app/contrtollers/bar_plugin_articles_controller.rb" => <<~CONTROLLER_CONTENT
+      "app/controllers/bar_plugin_articles_controller.rb" => <<~CONTROLLER_CONTENT
         class BarPluginArticlesController < ApplicationController
           def index
             render plain: "bar BarPluginArticlesController#index"