Skip to content

Commit

Permalink
Linting auto-correct
Browse files Browse the repository at this point in the history
  • Loading branch information
Ben Thorner committed Apr 28, 2020
1 parent 1ac2500 commit 7946add
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion app/controllers/application_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ class ApplicationController < ActionController::Base
# For APIs, you may want to use :null_session instead.
protect_from_forgery except: :service_sign_in_options


if ENV["BASIC_AUTH_USERNAME"]
http_basic_authenticate_with(
name: ENV.fetch("BASIC_AUTH_USERNAME"),
Expand Down
1 change: 0 additions & 1 deletion test/components/publisher_metadata_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ def component_name
assert_select ".app-c-publisher-metadata__other dd", text: "Ministry of Defence"
end


test "renders two from links when two publishers are given" do
render_component(other: { from: ["<a href='/government/organisations/ministry-of-defence'>Ministry of Defence</a>", "<a href='/government/organisations/education-funding-agency'>Education Funding Agency</a>"] })
assert_select ".app-c-publisher-metadata__other a[href='/government/organisations/ministry-of-defence']", text: "Ministry of Defence"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ class ContentItemsControllerTest < ActionController::TestCase
assert_template :service_sign_in
end


test "raises a 404 for a content item which isn't a service_sign_in page" do
path = "this/is/not/a/sign/in/page"
post :service_sign_in_options, params: { path: path }
Expand Down
1 change: 0 additions & 1 deletion test/presenters/content_item/organisation_branding_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ def test_organisation
assert_nil executive_order_crest?(organisation)
end


test "includes an image organisations with a custom logo" do
organisation = test_organisation
organisation["details"]["logo"]["image"] = {
Expand Down

0 comments on commit 7946add

Please sign in to comment.