Sha256: ea10dd3aac60b067c1f72b2aecdc49a506c79582456878635006fdf9c302aa54

Contents?: true

Size: 359 Bytes

Versions: 23

Compression:

Stored size: 359 Bytes

Contents

require 'test_helper'

class FriendlyTest < ViewCase
  fixtures :all

  setup :sign_in
  teardown :teardown

  def test_match_correct_path
    visit adminpanel.product_path(adminpanel_products(:first))

    assert current_url.match('productos/first-product-slug')
  end

  protected

    def sign_in
      visit adminpanel.signin_path
      login
    end
end

Version data entries

23 entries across 23 versions & 1 rubygems

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