Sha256: f040aae5c3e9e72b854017eeb0c3314f2c4b68e4812019c773c836d1053c5814

Contents?: true

Size: 447 Bytes

Versions: 17

Compression:

Stored size: 447 Bytes

Contents

require 'test_helper'
require 'generators/shopify_app/views/views_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/views_generator_test.rb
shopify_app-6.4.1 test/generators/views_generator_test.rb
shopify_app-6.4.0 test/generators/views_generator_test.rb
shopify_app-6.3.0 test/generators/views_generator_test.rb
shopify_app-6.2.1 test/generators/views_generator_test.rb
shopify_app-6.2.0 test/generators/views_generator_test.rb
shopify_app-6.1.3 test/generators/views_generator_test.rb
shopify_app-6.1.2 test/generators/views_generator_test.rb
shopify_app-6.1.1 test/generators/views_generator_test.rb
shopify_app-6.1.0 test/generators/views_generator_test.rb
shopify_app-6.0.6 test/generators/views_generator_test.rb
shopify_app-6.0.5 test/generators/views_generator_test.rb
shopify_app-6.0.4 test/generators/views_generator_test.rb
shopify_app-6.0.3 test/generators/views_generator_test.rb
shopify_app-6.0.2 test/generators/views_generator_test.rb
shopify_app-6.0.1 test/generators/views_generator_test.rb
shopify_app-6.0.0 test/generators/views_generator_test.rb