Sha256: 093f5282b67f0616a4b40483a04d36b086c1e8cf54eb35ef75c28a0cac076085
Contents?: true
Size: 752 Bytes
Versions: 62
Compression:
Stored size: 752 Bytes
Contents
require 'test_helper' require 'generators/workarea/pricing_calculator/pricing_calculator_generator' module Workarea class PricingCalculatorGeneratorTest < GeneratorTest tests Workarea::PricingCalculatorGenerator destination Dir.mktmpdir setup do prepare_destination run_generator %w(Customizations) end def test_model assert_file 'app/models/workarea/pricing/calculators/customizations_calculator.rb' do |model| assert_match('class CustomizationsCalculator', model) end end def test_test assert_file 'test/models/workarea/pricing/calculators/customizations_calculator_test.rb' do |test| assert_match('class CustomizationsCalculatorTest', test) end end end end
Version data entries
62 entries across 62 versions & 1 rubygems