Sha256: fa96171dfbeea91ff7202e5ca42e6ef9bc98b60f42c21e4e5d23f5fdf5d82c14
Contents?: true
Size: 606 Bytes
Versions: 7
Compression:
Stored size: 606 Bytes
Contents
require_relative '../test_helper' require_relative '../../lib/generators/comfy/cms/cms_generator' class CmsGeneratorTest < Rails::Generators::TestCase tests Comfy::Generators::CmsGenerator def test_generator run_generator assert_migration 'db/migrate/create_cms.rb' assert_file 'config/initializers/comfortable_mexican_sofa.rb' assert_file 'config/routes.rb', read_file('cms/routes.rb') assert_directory 'db/cms_fixtures' assert_file 'app/assets/javascripts/comfy/admin/cms/custom.js.coffee' assert_file 'app/assets/stylesheets/comfy/admin/cms/custom.sass' end end
Version data entries
7 entries across 7 versions & 1 rubygems