Sha256: cd8c6abb930cdc09a733bf409a01d223ad5ecaa1aeaf26025d4e3c10447157f7
Contents?: true
Size: 460 Bytes
Versions: 2
Compression:
Stored size: 460 Bytes
Contents
require_relative "../test_helper" require_relative "../../lib/generators/comfy/blog/blog_generator" class CmsGeneratorTest < Rails::Generators::TestCase tests Comfy::Generators::BlogGenerator def test_generator run_generator assert_migration "db/migrate/create_blog.rb" assert_file "config/initializers/comfy_blog.rb" assert_file "config/routes.rb", read_file("blog/routes.rb") assert_directory "app/views/comfy/blog" end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
comfy_blog-2.0.4 | test/generators/blog_generator_test.rb |
comfy_blog-2.0.3 | test/generators/blog_generator_test.rb |