Sha256: 1992ae479d169f25c8ea30f7cdc11514abfe9b5bf82f33a6bb33f8e273012e9b

Contents?: true

Size: 534 Bytes

Versions: 57

Compression:

Stored size: 534 Bytes

Contents

require 'test_helper_rails'

class RailsTest < ActionDispatch::IntegrationTest
  include ::DummyRailsIntegration

  def test_visit_root
    visit root_path
    # ^ will raise on JS errors

    assert_equal 200, page.status_code

    screenshot!
  end

  def test_autoprefixer
    get ActionController::Base.helpers.stylesheet_path('application.css')
    assert_match(/-webkit-(?:transition|transform)/, response.body)
  end

  def test_precompile
    Dummy::Application.load_tasks
    Rake::Task['assets:precompile'].invoke
  end
end

Version data entries

57 entries across 56 versions & 6 rubygems

Version Path
bootstrap-4.1.3 test/rails_test.rb
bootstrap-4.1.2 test/rails_test.rb
tabler-rubygem-0.1.3 test/rails_test.rb
loremGem-0.2.0 test/rails_test.rb
tabler-rubygem-0.1.2 test/rails_test.rb
bootstrap-4.1.1 test/rails_test.rb
bootstrap-4.1.0 test/rails_test.rb
tabler-rubygem-0.1.1 test/rails_test.rb
bootstrap-4.0.0 test/rails_test.rb
bootstrap-4.0.0.beta3 test/rails_test.rb
bootstrap-4.0.0.beta2.1 test/rails_test.rb
bootstrap-4.0.0.beta2 test/rails_test.rb
bootstrap-4.0.0.beta test/rails_test.rb
bootstrap-4.0.0.alpha6 test/rails_test.rb
bootstrap-4.0.0.alpha5 test/rails_test.rb
bootstrap-4.0.0.alpha4 test/rails_test.rb
bootstrap-4.0.0.alpha3.1 test/rails_test.rb