Sha256: 479a541a50d4e7b4c9f5a5ff87d524e75e17eb23dc6053a747dd161319d96da4
Contents?: true
Size: 424 Bytes
Versions: 1
Compression:
Stored size: 424 Bytes
Contents
require 'test_helper' require 'rails/generators/myth/assets/assets_generator' class AssetGeneratorTest < Rails::Generators::TestCase tests Myth::Generators::AssetsGenerator destination File.expand_path("../tmp", __FILE__) setup :prepare_destination def test_assets run_generator %w(posts) assert_no_file "app/assets/stylesheets/posts.css" assert_file "app/assets/stylesheets/posts.css.myth" end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
myth-rails-1.0.1 | test/assets_generator_test.rb |