Sha256: b1abb6dbf1da8b5b177f54fd464e94b88536f8d917fed7a9a319544246b2b68f
Contents?: true
Size: 552 Bytes
Versions: 8
Compression:
Stored size: 552 Bytes
Contents
require 'test_helper' require 'generators/shopify_app/controllers/controllers_generator' class ControllersGeneratorTest < Rails::Generators::TestCase tests ShopifyApp::Generators::ControllersGenerator destination File.expand_path("../tmp", File.dirname(__FILE__)) setup :prepare_destination test "copies ShopifyApp controllers to the host application" do run_generator assert_directory "app/controllers" assert_file "app/controllers/sessions_controller.rb" assert_file "app/controllers/authenticated_controller.rb" end end
Version data entries
8 entries across 8 versions & 1 rubygems