Sha256: 6e9b00b9898cb355c270f455087681af9ec1cb545403faf31bcd71ba5dee940c

Contents?: true

Size: 425 Bytes

Versions: 19

Compression:

Stored size: 425 Bytes

Contents

require 'test_helper'

class ActionExclutionTest < ViewCase
  fixtures :all

  setup :sign_in
  def test_mugs_index_excluding_every_action_but_index
    visit adminpanel.mugs_path
    assert_no_link 'Crear Taza'
    assert_no_selector 'i.fa.fa-pencil'
    assert_no_selector 'i.fa.fa-search-plus'
    assert_no_selector 'i.fa.fa-facebook'
  end

  protected
  def sign_in
    visit adminpanel.signin_path
    login
  end
end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
adminpanel-3.6.1 test/features/shared/ui/action_exclution_test.rb
adminpanel-3.6.0 test/features/shared/ui/action_exclution_test.rb
adminpanel-3.5.1 test/features/shared/ui/action_exclution_test.rb
adminpanel-3.5.0 test/features/shared/ui/action_exclution_test.rb
adminpanel-3.4.7 test/features/shared/ui/action_exclution_test.rb
adminpanel-3.4.6 test/features/shared/ui/action_exclution_test.rb
adminpanel-3.4.5 test/features/shared/ui/action_exclution_test.rb
adminpanel-3.4.4 test/features/shared/ui/action_exclution_test.rb
adminpanel-3.4.3 test/features/shared/ui/action_exclution_test.rb
adminpanel-3.4.2 test/features/shared/ui/action_exclution_test.rb
adminpanel-3.4.1 test/features/shared/ui/action_exclution_test.rb
adminpanel-3.4.0 test/features/shared/ui/action_exclution_test.rb
adminpanel-3.3.4 test/features/shared/ui/action_exclution_test.rb
adminpanel-3.3.3 test/features/shared/ui/action_exclution_test.rb
adminpanel-2.1.7 test/features/shared/ui/action_exclution_test.rb
adminpanel-2.1.6 test/features/shared/ui/action_exclution_test.rb
adminpanel-2.1.5 test/features/shared/ui/action_exclution_test.rb
adminpanel-2.1.3 test/features/shared/ui/action_exclution_test.rb
adminpanel-2.1.2 test/features/shared/action_exclution_test.rb