Module: Netzke::Testing

Defined in:
lib/netzke/testing.rb,
lib/netzke/testing/engine.rb,
lib/netzke/testing/version.rb

Defined Under Namespace

Modules: Helpers Classes: Engine

Constant Summary collapse

VERSION =
"6.5.0.0"
@@custom_js =
[]
@@js_timeout =
5

Class Method Summary collapse

Class Method Details

.rspec_init(rspec_config) ⇒ Object



22
23
24
25
# File 'lib/netzke/testing.rb', line 22

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

.setup {|_self| ... } ⇒ Object

Yields:

  • (_self)

Yield Parameters:



27
28
29
# File 'lib/netzke/testing.rb', line 27

def self.setup
  yield self
end