Sha256: ea66eb22f40aa64b6262f43fe6da0f620dbd65e2973642f942aa8c96974438b1

Contents?: true

Size: 623 Bytes

Versions: 1

Compression:

Stored size: 623 Bytes

Contents

require 'active_support/core_ext/module/attribute_accessors'

module TestTrack

	mattr_accessor :custom_config
	@@custom_config = false

	mattr_accessor :jasmine_manifest
	@@jasmine_manifest = "jasmine"

	mattr_accessor :qunit_manifest
	@@qunit_manifest = "qunit"

	mattr_accessor :application_manifest
	@@application_manifest = "application"

	mattr_accessor :jasmine_path
	@@jasmine_path = "spec/javascripts"

	mattr_accessor :qunit_path
	@@qunit_path = "test/javascripts"

	def self.setup
		@@custom_config = true
		yield self
		require 'test_track/engine'
	end

	require 'test_track/engine' unless @@custom_config
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
test_track-0.0.1 lib/test_track.rb