Sha256: 8cd0d1e4fdb8d271a13f8b296e7b908222aa69419fbfc077e8d8a8e14c58623b

Contents?: true

Size: 533 Bytes

Versions: 2

Compression:

Stored size: 533 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

2 entries across 2 versions & 1 rubygems

Version Path
bootstrap-4.0.0.alpha3 test/rails_test.rb
bootstrap-4.0.0.alpha2 test/rails_test.rb