Sha256: 06fee0410254e0cc7c6cd70c1812981c2a2ac158f8e8bd4658168811da39e06a
Contents?: true
Size: 439 Bytes
Versions: 37
Compression:
Stored size: 439 Bytes
Contents
require 'test_helper' require "generators/push_type/presenter/presenter_generator" module PushType class PresenterGeneratorTest < Rails::Generators::TestCase tests PresenterGenerator destination Rails.root.join('tmp/generators') before :all do prepare_destination run_generator ['page'] end it { assert_file 'app/presenters/page_presenter.rb', %r{class PagePresenter < PushType::Presenter} } end end
Version data entries
37 entries across 37 versions & 1 rubygems