Skip to content

Commit 082b972

Browse files
Rolling back rubocop disables
1 parent 8882f4c commit 082b972

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

app/helpers/field_builder.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
require 'action_view/helpers/tag_helper'
22

3+
# rubocop:disable Rails/HelperInstanceVariable
34
class FieldBuilder
45
attr_reader :tag_helper
56
attr_reader :builder
@@ -108,3 +109,4 @@ def error_feedback_tag
108109
content_tag(:div, first_error, class: 'invalid-feedback')
109110
end
110111
end
112+
# rubocop:enable Rails/HelperInstanceVariable

spec/calnet_helper.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ def with_patron_login(patron_id)
3131
user = login_as_patron(patron_id)
3232
yield user
3333
rescue StandardError => e
34-
puts "#{e}\n\t#{e.backtrace.join("\n\t")}"
34+
puts "#{e}\n\t#{e.backtrace.join("\n\t")}" # rubocop:disable Rails/Output
3535
raise
3636
ensure
3737
logout!

0 commit comments

Comments
 (0)