spec/features/admin/settings_spec.rb

Summary

Maintainability
A
0 mins
Test Coverage

Use let instead of an instance variable. (http://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/InstanceVariable)
Open

      fill_in "setting_#{@setting2.id}", with: 'Super Users of level 2'

Use let instead of an instance variable. (http://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/InstanceVariable)
Open

    within("#edit_setting_#{@setting2.id}") do

Use let instead of an instance variable. (http://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/InstanceVariable)
Open

    expect(page).to have_content @setting2.key

Use let instead of an instance variable. (http://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/InstanceVariable)
Open

    expect(page).to have_content @setting3.key

Use let instead of an instance variable. (http://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/InstanceVariable)
Open

    expect(page).to have_content @setting1.key

There are no issues that match your filters.

Category
Status