Sha256: 63bbcb22cac504a471fc429b446ff28b32735d601e0ddd86b1e17cf6d840a588

Contents?: true

Size: 567 Bytes

Versions: 6

Compression:

Stored size: 567 Bytes

Contents

require 'test_helper'

class SortableTest < ViewCase
  fixtures :all

  setup :sign_in
  teardown :teardown
  def test_including_of_position_and_default_icons
    visit adminpanel.galleries_path
    assert_link 'Crear Galeria'

    # if this 2 icons exists, routes exist too
    assert_selector 'i.fa.fa-chevron-down'
    assert_selector 'i.fa.fa-chevron-up'
    
    assert_selector 'i.fa.fa-pencil'
    assert_selector 'i.fa.fa-trash-o'
    assert_selector 'i.fa.fa-search-plus'
  end

  protected
  def sign_in
    visit adminpanel.signin_path
    login
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
adminpanel-2.4.3 test/features/shared/concerns/sortable_test.rb
adminpanel-2.4.2 test/features/shared/concerns/sortable_test.rb
adminpanel-2.4.1 test/features/shared/concerns/sortable_test.rb
adminpanel-2.4.0 test/features/shared/concerns/sortable_test.rb
adminpanel-2.3.1 test/features/shared/concerns/sortable_test.rb
adminpanel-2.3.0 test/features/shared/concerns/sortable_test.rb