Class: RailsStory
- Inherits:
-
ActionController::IntegrationTest
- Object
- ActionController::IntegrationTest
- RailsStory
- Defined in:
- lib/spec/rails/story_adapter.rb
Class Method Summary collapse
-
.fixture_table_names ⇒ Object
Workaround for projects that don’t use ActiveRecord.
Instance Method Summary collapse
-
#initialize ⇒ RailsStory
constructor
:nodoc:.
Constructor Details
#initialize ⇒ RailsStory
:nodoc:
27 28 29 30 31 32 33 34 35 36 |
# File 'lib/spec/rails/story_adapter.rb', line 27 def initialize #:nodoc: # TODO - eliminate this hack, which is here to stop # Rails Stories from dumping the example summary. Spec::Runner::Options.class_eval do def examples_should_be_run? false end end @_result = Test::Unit::TestResult.new end |
Class Method Details
.fixture_table_names ⇒ Object
Workaround for projects that don’t use ActiveRecord
24 |
# File 'lib/spec/rails/story_adapter.rb', line 24 def self.fixture_table_names; []; end |