Sha256: 7ea2752a702388b9cb5f5dd77678737d21a023f2a401d35bfe6482fb1ae8f7df

Contents?: true

Size: 785 Bytes

Versions: 2

Compression:

Stored size: 785 Bytes

Contents

module TestSquad
  class Engine < ::Rails::Engine
    initializer 'test_squad' do
      next unless %w[development test].include?(Rails.env)

      config = Rails.application.config

      config.assets.paths += [
        Rails.root.join(TestSquad.test_directory).to_s
      ]

      config.assets.precompile += %W[
        test_helper.js
        spec_helper.js

        test_squad/qunit-phantom.js
        test_squad/jasmine-phantom.js
        test_squad/mocha-phantom.js
        test_squad/ember.css
        test_squad/mocha-reporter.js

        qunit.css
        qunit.js

        jasmine/jasmine_favicon.png
        jasmine/jasmine.js
        jasmine/jasmine.css
        jasmine/jasmine-html.js
        jasmine/boot.js

        mocha.js
        mocha.css
      ]
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
test_squad-0.1.0 lib/test_squad/engine.rb
test_squad-0.0.1 lib/test_squad/engine.rb