Sha256: a70656c6d5ce4da4d73650d95d73397aaab0af713fb498bee25e15a395de1a89

Contents?: true

Size: 363 Bytes

Versions: 7

Compression:

Stored size: 363 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

7 entries across 7 versions & 1 rubygems

Version Path
comfortable_mexican_sofa-2.0.9 test/generators/cms_views_generator_test.rb
comfortable_mexican_sofa-2.0.8 test/generators/cms_views_generator_test.rb
comfortable_mexican_sofa-2.0.7 test/generators/cms_views_generator_test.rb
comfortable_mexican_sofa-2.0.6 test/generators/cms_views_generator_test.rb
comfortable_mexican_sofa-2.0.5 test/generators/cms_views_generator_test.rb
comfortable_mexican_sofa-2.0.4 test/generators/cms_views_generator_test.rb
comfortable_mexican_sofa-2.0.3 test/generators/cms_views_generator_test.rb