Sha256: 5a248517ebe4615af7c69acdd948a173536340d49f471ca0489e882db5c40bf8

Contents?: true

Size: 430 Bytes

Versions: 6

Compression:

Stored size: 430 Bytes

Contents

require 'test_helper'

class GalleryzableTest < ViewCase
  fixtures :all

  setup :sign_in
  teardown :teardown

  def test_including_chveron_icons
    visit adminpanel.galleries_path(adminpanel_galleries(:one))

    # if this 2 icons exists, routes exist too
    assert_selector 'i.fa.fa-chevron-down'
    assert_selector 'i.fa.fa-chevron-up'
  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/galleryzable_test.rb
adminpanel-2.4.2 test/features/shared/concerns/galleryzable_test.rb
adminpanel-2.4.1 test/features/shared/concerns/galleryzable_test.rb
adminpanel-2.4.0 test/features/shared/concerns/galleryzable_test.rb
adminpanel-2.3.1 test/features/shared/concerns/galleryzable_test.rb
adminpanel-2.3.0 test/features/shared/concerns/galleryzable_test.rb