spec/features/admin/officials_spec.rb
Use let
instead of an instance variable. (http://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/InstanceVariable) Open
Open
expect(page).to have_content @official.email
- Exclude checks
Use let
instead of an instance variable. (http://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/InstanceVariable) Open
Open
click_link @official.name
- Exclude checks
Use let
instead of an instance variable. (http://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/InstanceVariable) Open
Open
expect(page).to have_content @official.name
- Exclude checks
Use let
instead of an instance variable. (http://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/InstanceVariable) Open
Open
expect(page).to have_content @official.official_position
- Exclude checks
Use let
instead of an instance variable. (http://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/InstanceVariable) Open
Open
expect(page).not_to have_content @citizen.name
- Exclude checks
Use let
instead of an instance variable. (http://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/InstanceVariable) Open
Open
fill_in 'name_or_email', with: @citizen.email
- Exclude checks
Use let
instead of an instance variable. (http://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/InstanceVariable) Open
Open
click_link @citizen.name
- Exclude checks
Use let
instead of an instance variable. (http://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/InstanceVariable) Open
Open
expect(page).to have_content @official.official_level
- Exclude checks
Use let
instead of an instance variable. (http://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/InstanceVariable) Open
Open
expect(page).to have_current_path(edit_admin_official_path(@official))
- Exclude checks
Use let
instead of an instance variable. (http://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/InstanceVariable) Open
Open
expect(page).to have_content @official.name
- Exclude checks
Use let
instead of an instance variable. (http://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/InstanceVariable) Open
Open
expect(page).to have_content @citizen.name
- Exclude checks
Use let
instead of an instance variable. (http://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/InstanceVariable) Open
Open
expect(page).not_to have_content @citizen.name
- Exclude checks
Use let
instead of an instance variable. (http://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/InstanceVariable) Open
Open
login_as(@admin.user)
- Exclude checks
Use let
instead of an instance variable. (http://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/InstanceVariable) Open
Open
expect(page).to have_content @official.name
- Exclude checks
Use let
instead of an instance variable. (http://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/InstanceVariable) Open
Open
expect(page).not_to have_content @official.name
- Exclude checks
Use let
instead of an instance variable. (http://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/InstanceVariable) Open
Open
expect(page).not_to have_content @citizen.name
- Exclude checks
Use let
instead of an instance variable. (http://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/InstanceVariable) Open
Open
expect(page).not_to have_content @official.name
- Exclude checks
Use let
instead of an instance variable. (http://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/InstanceVariable) Open
Open
expect(page).to have_content @official.name
- Exclude checks
Use let
instead of an instance variable. (http://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/InstanceVariable) Open
Open
visit edit_admin_official_path(@official)
- Exclude checks