Sha256: 9e0ea6371f0421dccd0d1a6d9ed9adc55ff5ce842ee8788a6ea15b103351cda9

Contents?: true

Size: 525 Bytes

Versions: 62

Compression:

Stored size: 525 Bytes

Contents

require 'test_helper'
require 'generators/workarea/override/override_generator'

module Workarea
  class OverrideGeneratorTest < GeneratorTest
    tests Workarea::OverrideGenerator
    destination Dir.mktmpdir
    setup :prepare_destination

    def test_copying_files
      run_generator %w(views workarea/admin/catalog_products/index.html.haml)
      assert_file 'app/views/workarea/admin/catalog_products/index.html.haml'
      assert_file 'app/views/workarea/admin/catalog_products/index.json.jbuilder'
    end
  end
end

Version data entries

62 entries across 62 versions & 1 rubygems

Version Path
workarea-core-3.4.27 test/generators/workarea/override_generator_test.rb
workarea-core-3.5.4 test/generators/workarea/override_generator_test.rb
workarea-core-3.4.26 test/generators/workarea/override_generator_test.rb
workarea-core-3.5.3 test/generators/workarea/override_generator_test.rb
workarea-core-3.4.25 test/generators/workarea/override_generator_test.rb
workarea-core-3.5.2 test/generators/workarea/override_generator_test.rb
workarea-core-3.4.24 test/generators/workarea/override_generator_test.rb
workarea-core-3.5.1 test/generators/workarea/override_generator_test.rb
workarea-core-3.4.23 test/generators/workarea/override_generator_test.rb
workarea-core-3.4.22 test/generators/workarea/override_generator_test.rb
workarea-core-3.5.0 test/generators/workarea/override_generator_test.rb
workarea-core-3.4.21 test/generators/workarea/override_generator_test.rb
workarea-core-3.5.0.beta.1 test/generators/workarea/override_generator_test.rb
workarea-core-3.4.20 test/generators/workarea/override_generator_test.rb
workarea-core-3.4.19 test/generators/workarea/override_generator_test.rb
workarea-core-3.4.18 test/generators/workarea/override_generator_test.rb
workarea-core-3.4.17 test/generators/workarea/override_generator_test.rb
workarea-core-3.4.16 test/generators/workarea/override_generator_test.rb
workarea-core-3.4.15 test/generators/workarea/override_generator_test.rb
workarea-core-3.4.14 test/generators/workarea/override_generator_test.rb