Sha256: 8f45c88c7d662c0c65b81dabf8ca32a36306e376ed2d2773337bdfad8891a19d

Contents?: true

Size: 360 Bytes

Versions: 9

Compression:

Stored size: 360 Bytes

Contents

require_relative '../test_helper'
require_relative '../../lib/generators/comfy/cms/views_generator'

class CmsViewsGeneratorTest < Rails::Generators::TestCase
  tests Comfy::Generators::Cms::ViewsGenerator

  def test_generator
    run_generator
    assert_directory 'app/views/comfy'
    assert_file 'app/views/comfy/admin/cms/pages/index.html.haml'
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
comfortable_mexican_sofa-1.12.11 test/generators/cms_views_generator_test.rb
comfortable_mexican_sofa-1.12.10 test/generators/cms_views_generator_test.rb
comfortable_mexican_sofa-1.12.9 test/generators/cms_views_generator_test.rb
comfortable_mexican_sofa-1.12.8 test/generators/cms_views_generator_test.rb
comfortable_mexican_sofa-1.12.7 test/generators/cms_views_generator_test.rb
comfortable_mexican_sofa-1.12.6 test/generators/cms_views_generator_test.rb
comfortable_mexican_sofa-1.12.5 test/generators/cms_views_generator_test.rb
comfortable_mexican_sofa-1.12.4 test/generators/cms_views_generator_test.rb
comfortable_mexican_sofa-1.12.3 test/generators/cms_views_generator_test.rb