Sha256: 9eb624d09b7f1cb7d5e5803d884569d2a645422878cf42b346f114ac261dd592
Contents?: true
Size: 389 Bytes
Versions: 1
Compression:
Stored size: 389 Bytes
Contents
require 'test_helper' require 'rails/generators' require 'generators/views/view_generator' class GeneratorsTest < Rails::Generators::TestCase tests Views::Generators::ViewGenerator destination Rails.root.join('tmp') teardown do FileUtils.rm_rf destination_root end test 'file generation' do run_generator %w(guitars) assert_file 'db/views/guitars.sql' end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
views-0.0.1 | test/generators_test.rb |