Sha256: 0f3f3c3ea1ef53fc461b537a3ab57c66b43f60e8df1c7530980b1d2243a389a2

Contents?: true

Size: 466 Bytes

Versions: 25

Compression:

Stored size: 466 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'
    assert_no_selector 'i.fa.fa-twitter'
  end

  protected
  def sign_in
    visit adminpanel.signin_path
    login
  end
end

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
adminpanel-3.3.0 test/features/shared/ui/action_exclution_test.rb
adminpanel-3.2.1 test/features/shared/ui/action_exclution_test.rb
adminpanel-3.2.0 test/features/shared/ui/action_exclution_test.rb
adminpanel-3.1.0 test/features/shared/ui/action_exclution_test.rb
adminpanel-3.0.0 test/features/shared/ui/action_exclution_test.rb
adminpanel-2.6.1 test/features/shared/ui/action_exclution_test.rb
adminpanel-2.6.0 test/features/shared/ui/action_exclution_test.rb
adminpanel-2.5.5 test/features/shared/ui/action_exclution_test.rb
adminpanel-2.5.4 test/features/shared/ui/action_exclution_test.rb
adminpanel-2.5.3 test/features/shared/ui/action_exclution_test.rb
adminpanel-2.5.2 test/features/shared/ui/action_exclution_test.rb
adminpanel-2.5.1 test/features/shared/ui/action_exclution_test.rb
adminpanel-2.5.0 test/features/shared/ui/action_exclution_test.rb
adminpanel-2.4.3 test/features/shared/ui/action_exclution_test.rb
adminpanel-2.4.2 test/features/shared/ui/action_exclution_test.rb
adminpanel-2.4.1 test/features/shared/ui/action_exclution_test.rb
adminpanel-2.4.0 test/features/shared/ui/action_exclution_test.rb
adminpanel-2.3.1 test/features/shared/ui/action_exclution_test.rb
adminpanel-2.3.0 test/features/shared/ui/action_exclution_test.rb
adminpanel-2.2.5 test/features/shared/ui/action_exclution_test.rb