Sha256: 7a8e3b04baf2e2456952d23a45e81c660bf7e84623dfa17016c1a205c0d52e67
Contents?: true
Size: 665 Bytes
Versions: 10
Compression:
Stored size: 665 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/comfortable_mexican_sofa/admin/application.js' assert_file 'app/assets/stylesheets/comfortable_mexican_sofa/admin/application.css' end end
Version data entries
10 entries across 10 versions & 1 rubygems