Sha256: 974dec5191b54c42627ef5dfae8ec4ac8c0c0c7a7ed431457d0109b817f5e9b4

Contents?: true

Size: 447 Bytes

Versions: 17

Compression:

Stored size: 447 Bytes

Contents

require 'test_helper'
require 'generators/shopify_app/shopify_app_generator'

class ViewsGeneratorTest < Rails::Generators::TestCase
  tests ShopifyApp::Generators::ViewsGenerator
  destination File.expand_path("../tmp", File.dirname(__FILE__))
  setup :prepare_destination

  test "copies ShopifyApp views to the host application" do
    run_generator
    assert_directory "app/views"
    assert_file "app/views/sessions/new.html.erb"
  end

end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
shopify_app-6.4.2 test/generators/shopify_app_generator.rb
shopify_app-6.4.1 test/generators/shopify_app_generator.rb
shopify_app-6.4.0 test/generators/shopify_app_generator.rb
shopify_app-6.3.0 test/generators/shopify_app_generator.rb
shopify_app-6.2.1 test/generators/shopify_app_generator.rb
shopify_app-6.2.0 test/generators/shopify_app_generator.rb
shopify_app-6.1.3 test/generators/shopify_app_generator.rb
shopify_app-6.1.2 test/generators/shopify_app_generator.rb
shopify_app-6.1.1 test/generators/shopify_app_generator.rb
shopify_app-6.1.0 test/generators/shopify_app_generator.rb
shopify_app-6.0.6 test/generators/shopify_app_generator.rb
shopify_app-6.0.5 test/generators/shopify_app_generator.rb
shopify_app-6.0.4 test/generators/shopify_app_generator.rb
shopify_app-6.0.3 test/generators/shopify_app_generator.rb
shopify_app-6.0.2 test/generators/shopify_app_generator.rb
shopify_app-6.0.1 test/generators/shopify_app_generator.rb
shopify_app-6.0.0 test/generators/shopify_app_generator.rb