Skip to content

Commit

Permalink
Lint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
forsbergplustwo committed Sep 19, 2023
1 parent 5b8ccfb commit 3e7e02b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class PartnerApiCredentialsControllerTest < ActionDispatch::IntegrationTest
PartnerApiCredential.any_instance.expects(:credentials_have_access).returns(true)

assert_difference("PartnerApiCredential.count") do
post partner_api_credentials_url, params: { partner_api_credential: { access_token: @partner_api_credential.access_token, organization_id: @partner_api_credential.organization_id } }
post partner_api_credentials_url, params: {partner_api_credential: {access_token: @partner_api_credential.access_token, organization_id: @partner_api_credential.organization_id}}
end

assert_redirected_to edit_partner_api_credential_url(PartnerApiCredential.last)
Expand Down
4 changes: 2 additions & 2 deletions test/system/partner_api_credentials_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class PartnerApiCredentialsTest < ApplicationSystemTestCase
PartnerApiCredential.any_instance.expects(:credentials_have_access).returns(true)

visit root_url
find('span', text: 'Partner API Credentials').click
find("span", text: "Partner API Credentials").click

fill_in "Shopify organization ID", with: @partner_api_credential.organization_id
fill_in "Shopify access token", with: @partner_api_credential.access_token
Expand All @@ -25,7 +25,7 @@ class PartnerApiCredentialsTest < ApplicationSystemTestCase
PartnerApiCredential.any_instance.expects(:credentials_have_access).returns(true)

visit root_url
find('span', text: 'Partner API Credentials').click
find("span", text: "Partner API Credentials").click

fill_in "Shopify organization ID", with: "54321"
fill_in "Shopify access token", with: @partner_api_credential.access_token
Expand Down

0 comments on commit 3e7e02b

Please sign in to comment.