Skip to content

Commit

Permalink
Remove configuration methods include in url helper spec
Browse files Browse the repository at this point in the history
It is not necessary. The specs pass without globally including
a module in the test controller
  • Loading branch information
tvdeyen committed Sep 2, 2021
1 parent 2acb952 commit 0915db8
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions spec/helpers/alchemy/url_helper_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,6 @@ module Alchemy
describe UrlHelper do
let(:page) { mock_model(Page, urlname: "testpage", language_code: "en") }

before do
# helper.controller.class_eval { include Alchemy::ConfigurationMethods }
ActionView::TestCase::TestController.include(Alchemy::ConfigurationMethods)
end

context "page path helpers" do
describe "#show_page_path_params" do
subject(:show_page_path_params) { helper.show_page_path_params(page) }
Expand Down

0 comments on commit 0915db8

Please sign in to comment.