Class: Cucumber::Rails::World
- Inherits:
-
ActionController::IntegrationTest
- Object
- ActionController::IntegrationTest
- Cucumber::Rails::World
- Defined in:
- lib/cucumber/rails/world.rb
Overview
All scenarios will execute in the context of a new instance of Cucumber::Rails:World if this file is loaded. This gives Step Definitions access to all the methods from Rails’ ActionController::IntegrationTest
Class Method Summary collapse
-
.fixture_table_names ⇒ Object
Workaround for projects that don’t use ActiveRecord.
Instance Method Summary collapse
-
#initialize ⇒ World
constructor
:nodoc:.
Constructor Details
#initialize ⇒ World
:nodoc:
35 36 37 |
# File 'lib/cucumber/rails/world.rb', line 35 def initialize #:nodoc: @_result = Test::Unit::TestResult.new end |
Class Method Details
.fixture_table_names ⇒ Object
Workaround for projects that don’t use ActiveRecord
32 |
# File 'lib/cucumber/rails/world.rb', line 32 def self.fixture_table_names; []; end |