Skip to content

Commit 86b6a84

Browse files
Changes made by linter
1 parent 156128e commit 86b6a84

File tree

3 files changed

+4
-6
lines changed

3 files changed

+4
-6
lines changed

app/helpers/ui_helper.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ def _link_to(link, options = {}, properties = {})
162162
text = options[:text]
163163
size = options[:size]
164164
type = options[:type]
165-
165+
166166
properties[:data] ||= {}
167167
properties[:data][:disable_with] ||= "Please wait..."
168168

spec/system/distribution_system_spec.rb

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -913,17 +913,15 @@
913913

914914
# Double click on the Distribution complete button
915915
ferrum_double_click('a.btn.btn-success.btn-md[href*="/picked_up"]')
916-
916+
917917
# Capybara will be quick to determine that a screen doesn't have content.
918918
# Make some positive assertions that only appears on the new screen to make
919919
# sure it's loaded before asserting something isn't there.
920920
expect(page).not_to have_content("Distribution Complete")
921921
expect(page).to have_content("Complete")
922-
922+
923923
# If it tries to mark the distribution as completed twice, the second time
924924
# will fail (the distribution is already complete) and show this error
925925
expect(page).not_to have_content("Sorry, we encountered an error when trying to mark this distribution as being completed")
926926
end
927927
end
928-
929-

spec/system/partner_system_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
# Make sure the button is there before trying to double click it
4141
expect(page.find('a.btn.btn-success.btn-md[href*="/approve_application"]')).to have_content("Approve Partner")
4242

43-
# Double click on the Distribution complete button
43+
# Double click on the Distribution complete button
4444
ferrum_double_click('a.btn.btn-success.btn-md[href*="/approve_application"]')
4545

4646
# Capybara will be quick to determine that a screen doesn't have content.

0 commit comments

Comments
 (0)