Sha256: c0bcfa00e3c3c2a9b000ad9f6eb7e6abd190e9f37639ffa57c441f2c8c4ce89a
Contents?: true
Size: 568 Bytes
Versions: 28
Compression:
Stored size: 568 Bytes
Contents
require 'test_helper' require 'rails/generators/rails/controller/controller_generator' require 'rails/generators/coffee/assets/assets_generator' class ControllerGeneratorTest < Rails::Generators::TestCase tests Rails::Generators::ControllerGenerator destination File.expand_path("../tmp", __FILE__) setup do prepare_destination copy_routes end def test_assets run_generator %w(posts --javascript-engine=coffee --orm=false) assert_no_file "app/assets/javascripts/posts.js" assert_file "app/assets/javascripts/posts.js.coffee" end end
Version data entries
28 entries across 28 versions & 5 rubygems