Sha256: 7990aeaa9b2416441b596fe6a629b691f065f0e6f478f9236047b7fa9d35829a
Contents?: true
Size: 450 Bytes
Versions: 21
Compression:
Stored size: 450 Bytes
Contents
require "test_helper" require "generators/representer_generator" class Rails::Generators::RepresenterGeneratorTest < ::Rails::Generators::TestCase tests Rails::Generators::RepresenterGenerator destination File.expand_path('../../tmp', __FILE__) setup :prepare_destination teardown { rm_rf(destination_root) } test "generates user representer" do run_generator ["user"] assert_file "app/representers/user_representer.rb" end end
Version data entries
21 entries across 21 versions & 1 rubygems