Top Level Namespace

Defined Under Namespace

Modules: Kernel, Rake, RubyBreaker

Constant Summary collapse

RUBYBREAKER_RSPEC_PREFIX =

- This file overrides the describe method of RSpec to call the RubyBreaker setup first.

"__rubybreaker"

Instance Method Summary collapse

Instance Method Details

##{RUBYBREAKER_RSPEC_PREFIX}_describeObject

:nodoc:



8
# File 'lib/rubybreaker/test/rspec.rb', line 8

alias :"#{RUBYBREAKER_RSPEC_PREFIX}_describe" :describe

#describe(*args, &blk) ⇒ Object

:nodoc:



11
12
13
14
# File 'lib/rubybreaker/test/rspec.rb', line 11

def describe(*args,&blk) #:nodoc:
  RubyBreaker.run if defined?(RubyBreaker) 
  send(:"#{RUBYBREAKER_RSPEC_PREFIX}_describe", *args, &blk)
end