Sha256: 7ffc8089916f4de449e3df47388accfbda7b106a735921674e056ded8e6cc069
Contents?: true
Size: 417 Bytes
Versions: 48
Compression:
Stored size: 417 Bytes
Contents
require 'test_helper' class ErbScaffoldGeneratorExtensionsTest < ActiveSupport::TestCase def setup @gen = Erb::Generators::ScaffoldGenerator.new [ 'fake_item' ] end test 'should have the correct available_views' do req = %w(index new edit show _list _form) actual = @gen.send :available_views req.each do |view| assert actual.include?(view), "Missing '#{view}' view." end end end
Version data entries
48 entries across 48 versions & 1 rubygems