Sha256: bbfe0d56cc963fe3eab2b0b10cadefa9dc6ba54470471b0af37db5f670b2204f

Contents?: true

Size: 416 Bytes

Versions: 62

Compression:

Stored size: 416 Bytes

Contents

require 'test_helper'
require 'generators/workarea/js_adapter/js_adapter_generator'

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

    def test_copying_files
      run_generator %w(testAdapter)
      assert_file 'app/assets/javascripts/workarea/storefront/adapters/test_adapter.js'
    end
  end
end

Version data entries

62 entries across 62 versions & 1 rubygems

Version Path
workarea-core-3.5.27 test/generators/workarea/js_adapter_generator_test.rb
workarea-core-3.5.26 test/generators/workarea/js_adapter_generator_test.rb
workarea-core-3.4.45 test/generators/workarea/js_adapter_generator_test.rb
workarea-core-3.5.25 test/generators/workarea/js_adapter_generator_test.rb
workarea-core-3.5.23 test/generators/workarea/js_adapter_generator_test.rb
workarea-core-3.4.44 test/generators/workarea/js_adapter_generator_test.rb
workarea-core-3.5.22 test/generators/workarea/js_adapter_generator_test.rb
workarea-core-3.4.43 test/generators/workarea/js_adapter_generator_test.rb
workarea-core-3.5.21 test/generators/workarea/js_adapter_generator_test.rb
workarea-core-3.4.42 test/generators/workarea/js_adapter_generator_test.rb
workarea-core-3.5.20 test/generators/workarea/js_adapter_generator_test.rb
workarea-core-3.4.41 test/generators/workarea/js_adapter_generator_test.rb
workarea-core-3.5.19 test/generators/workarea/js_adapter_generator_test.rb
workarea-core-3.4.40 test/generators/workarea/js_adapter_generator_test.rb
workarea-core-3.5.18 test/generators/workarea/js_adapter_generator_test.rb
workarea-core-3.4.39 test/generators/workarea/js_adapter_generator_test.rb
workarea-core-3.5.17 test/generators/workarea/js_adapter_generator_test.rb
workarea-core-3.4.38 test/generators/workarea/js_adapter_generator_test.rb
workarea-core-3.5.16 test/generators/workarea/js_adapter_generator_test.rb
workarea-core-3.4.37 test/generators/workarea/js_adapter_generator_test.rb