Sha256: 23df4e872a6295bf6edf195ac6e334e471894f7b64239631be7564d9e8186720

Contents?: true

Size: 501 Bytes

Versions: 27

Compression:

Stored size: 501 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'

    # test for draggable element
    assert_selector 'td.draggable'

    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

27 entries across 27 versions & 1 rubygems

Version Path
adminpanel-3.6.1 test/features/shared/concerns/sortable_test.rb
adminpanel-3.6.0 test/features/shared/concerns/sortable_test.rb
adminpanel-3.5.1 test/features/shared/concerns/sortable_test.rb
adminpanel-3.5.0 test/features/shared/concerns/sortable_test.rb
adminpanel-3.4.7 test/features/shared/concerns/sortable_test.rb
adminpanel-3.4.6 test/features/shared/concerns/sortable_test.rb
adminpanel-3.4.5 test/features/shared/concerns/sortable_test.rb
adminpanel-3.4.4 test/features/shared/concerns/sortable_test.rb
adminpanel-3.4.3 test/features/shared/concerns/sortable_test.rb
adminpanel-3.4.2 test/features/shared/concerns/sortable_test.rb
adminpanel-3.4.1 test/features/shared/concerns/sortable_test.rb
adminpanel-3.4.0 test/features/shared/concerns/sortable_test.rb
adminpanel-3.3.4 test/features/shared/concerns/sortable_test.rb
adminpanel-3.3.3 test/features/shared/concerns/sortable_test.rb
adminpanel-3.3.0 test/features/shared/concerns/sortable_test.rb
adminpanel-3.2.1 test/features/shared/concerns/sortable_test.rb
adminpanel-3.2.0 test/features/shared/concerns/sortable_test.rb
adminpanel-3.1.0 test/features/shared/concerns/sortable_test.rb
adminpanel-3.0.0 test/features/shared/concerns/sortable_test.rb
adminpanel-2.6.1 test/features/shared/concerns/sortable_test.rb