Sha256: bee3de555f3ad1dac5a5ced921034a89a973fa86d9c90a5ef6273244d447e613
Contents?: true
Size: 539 Bytes
Versions: 7
Compression:
Stored size: 539 Bytes
Contents
require 'test_helper' class Haml::Generators::ControllerGeneratorTest < Rails::Generators::TestCase destination File.join(Rails.root) tests Rails::Generators::ControllerGenerator arguments %w(Account foo bar --template-engine haml) setup :prepare_destination setup :copy_routes test "should invoke template engine" do run_generator assert_file "app/views/account/foo.html.haml", %r(app/views/account/foo\.html\.haml) assert_file "app/views/account/bar.html.haml", %r(app/views/account/bar\.html\.haml) end end
Version data entries
7 entries across 7 versions & 1 rubygems