Sha256: 0bfa761d2fa6400cc355b8cbddcba40d1b7f6e2cbb5400d7836a93fdd62fd0b4
Contents?: true
Size: 485 Bytes
Versions: 1
Compression:
Stored size: 485 Bytes
Contents
require "test_helper" require "capybara/rails" # This blog post helped so much: http://rakeroutes.com/blog/write-a-gem-for-the-rails-asset-pipeline/ # Thanks, Stephen!!! :) if Cell.rails_version >= 3.1 class AssetPipelineTest < MiniTest::Spec include Capybara::DSL register_spec_type(/integration$/, self) it "what" do visit "assets/application.js" page.text.must_include 'var Album = {};' page.text.must_include 'var Songs = [];' end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
cells-3.11.0 | test/rails/asset_pipeline_test.rb |