Class: Spec::Ui::Watir::WatirBehaviour
- Inherits:
-
DSL::Behaviour
- Object
- DSL::Behaviour
- Spec::Ui::Watir::WatirBehaviour
- Defined in:
- lib/spec/ui/watir/watir_behaviour.rb
Instance Method Summary collapse
-
#before_eval ⇒ Object
:nodoc:.
Instance Method Details
#before_eval ⇒ Object
:nodoc:
7 8 9 10 11 12 13 14 15 16 17 18 |
# File 'lib/spec/ui/watir/watir_behaviour.rb', line 7 def before_eval # :nodoc: include Spec::Matchers::Watir begin # We'll try to hook up to the Rails stuff. This gives us access # to transactional fixtures etc. inherit Spec::Rails::DSL::EvalContext prepend_before {setup} append_after {teardown} configure rescue end end |