Sha256: eb7a9fa34b1840a3dd5dadb8813d36480b38e0bb73026d4add6d9aef3be41066

Contents?: true

Size: 437 Bytes

Versions: 2

Compression:

Stored size: 437 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
    mattr_accessor :spec_root

    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

2 entries across 2 versions & 1 rubygems

Version Path
netzke-testing-0.9.1 lib/netzke/testing.rb
netzke-testing-0.9.0 lib/netzke/testing.rb