Sha256: 47fcaebddca81388f1033b054a9f9b015792402ceaa289ef419c84bbc9154298
Contents?: true
Size: 444 Bytes
Versions: 21
Compression:
Stored size: 444 Bytes
Contents
require "test_helper" require "generators/facade_generator" class Rails::Generators::FacadeGeneratorTest < ::Rails::Generators::TestCase tests Rails::Generators::FacadeGenerator destination File.expand_path('../../tmp', __FILE__) setup :prepare_destination teardown { rm_rf(destination_root) } test "generates mypage/index_facade" do run_generator ["mypage/index"] assert_file "app/facades/mypage/index_facade.rb" end end
Version data entries
21 entries across 21 versions & 1 rubygems