Sha256: 2ad65901126df4136066990f58cfc237a4e2b45e20044fe073b1038022760ab4

Contents?: true

Size: 392 Bytes

Versions: 19

Compression:

Stored size: 392 Bytes

Contents

require 'test_helper'

class IndexTest < ViewCase
  fixtures :all

  setup :sign_in
  def test_index_buttons_of_resources
    visit adminpanel.salesmen_path
    assert_link 'Crear Agente'
    assert_selector 'i.fa.fa-pencil'
    assert_selector 'i.fa.fa-search-plus'
    assert_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/resource/index_test.rb
adminpanel-3.6.0 test/features/shared/resource/index_test.rb
adminpanel-3.5.1 test/features/shared/resource/index_test.rb
adminpanel-3.5.0 test/features/shared/resource/index_test.rb
adminpanel-3.4.7 test/features/shared/resource/index_test.rb
adminpanel-3.4.6 test/features/shared/resource/index_test.rb
adminpanel-3.4.5 test/features/shared/resource/index_test.rb
adminpanel-3.4.4 test/features/shared/resource/index_test.rb
adminpanel-3.4.3 test/features/shared/resource/index_test.rb
adminpanel-3.4.2 test/features/shared/resource/index_test.rb
adminpanel-3.4.1 test/features/shared/resource/index_test.rb
adminpanel-3.4.0 test/features/shared/resource/index_test.rb
adminpanel-3.3.4 test/features/shared/resource/index_test.rb
adminpanel-3.3.3 test/features/shared/resource/index_test.rb
adminpanel-2.1.7 test/features/shared/resource/index_test.rb
adminpanel-2.1.6 test/features/shared/resource/index_test.rb
adminpanel-2.1.5 test/features/shared/resource/index_test.rb
adminpanel-2.1.3 test/features/shared/resource/index_test.rb
adminpanel-2.1.2 test/features/shared/index_test.rb