Sha256: b37b02b3a40a2b24024a9c36b4e850cf13d41a2d4868e6f30bc9bd5e527b883a

Contents?: true

Size: 467 Bytes

Versions: 9

Compression:

Stored size: 467 Bytes

Contents

require "test_helper"
require "capybara/rails"
require "capybara/dsl"

# This blog post helped so much: http://rakeroutes.com/blog/write-a-gem-for-the-rails-asset-pipeline/
# Thanks, Stephen!!! :)

class AssetPipelineTest < ActionDispatch::IntegrationTest
  include ::Capybara::DSL

  it do
    visit "/assets/application.css"

    # both engine User::Cell and SongCell provide assets.
    page.text.must_equal "user{background:green}.song{background:red}"
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
cells-4.0.5 test/rails4.2/test/integration/asset_pipeline_test.rb
cells-4.0.4 test/rails4.2/test/integration/asset_pipeline_test.rb
cells-4.0.3 test/rails4.2/test/integration/asset_pipeline_test.rb
cells-4.0.2 test/rails4.2/test/integration/asset_pipeline_test.rb
cells-4.0.1 test/rails4.2/test/integration/asset_pipeline_test.rb
cells-4.0.0 test/rails4.2/test/integration/asset_pipeline_test.rb
cells-4.0.0.rc1 test/rails4.2/test/integration/asset_pipeline_test.rb
cells-4.0.0.beta6 test/rails4.2/test/integration/asset_pipeline_test.rb
cells-4.0.0.beta5 test/rails4.2/test/integration/asset_pipeline_test.rb