Sha256: 4ec16f1c48349cc834b6e7d4572fb6a0c41be9cfc61973d7545a49f6a56982da

Contents?: true

Size: 630 Bytes

Versions: 9

Compression:

Stored size: 630 Bytes

Contents

require "netzke/testing/version"
require "netzke/testing/helpers"
require "active_support/core_ext"

if defined? ::Rails
  require "netzke/testing/engine"
end

module Netzke
  module Testing
    # Path to the root of your JS specs (which are part of integration tests)
    mattr_accessor :spec_root

    # JS paths that should be included in the testing template
    mattr_accessor :custom_js
    @@custom_js = []

    def self.rspec_init(rspec_config)
      @@spec_root = Pathname.new(caller.first).join("../..")
      rspec_config.include(Netzke::Testing::Helpers)
    end

    def self.setup
      yield self
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
netzke-testing-0.11.2 lib/netzke/testing.rb
netzke-testing-0.12.1 lib/netzke/testing.rb
netzke-testing-0.12.0 lib/netzke/testing.rb
netzke-testing-0.12.0.beta2 lib/netzke/testing.rb
netzke-testing-0.12.0.beta lib/netzke/testing.rb
netzke-testing-0.11.1 lib/netzke/testing.rb
netzke-testing-0.11.0 lib/netzke/testing.rb
netzke-testing-0.10.0 lib/netzke/testing.rb
netzke-testing-0.10.0.rc1 lib/netzke/testing.rb