Sha256: 668008ecbcb6aadb4752213fe5bae6be680fb7d186c701b7b5fc8cfd12b823ae

Contents?: true

Size: 635 Bytes

Versions: 1

Compression:

Stored size: 635 Bytes

Contents

require 'test_helper'

class NavigationTest < ActionDispatch::IntegrationTest
  test 'can access slick.js' do
    get '/assets/jquery.slick.js'
    assert_response :success
  end

  test 'can access slick.css' do
    get '/assets/slick.css'
    assert_response :success
  end

  test 'can access slick-theme.css' do
    get '/assets/slick-theme.css'
    assert_response :success
  end

  test 'can access slick.eot' do
    get '/assets/slick.eot'
    assert_response :success
  end

  test 'slick response is for the expected version' do
    get '/assets/jquery.slick.js'
    assert_match(/Version: 1\.7\.1/, @response.body)
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
jquery-slick-rails-1.7.1 test/integration/navigation_test.rb