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