Class: RailsStory

Inherits:
ActionController::IntegrationTest
  • Object
show all
Defined in:
lib/spec/rails/story_adapter.rb

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeRailsStory

: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_namesObject

Workaround for projects that don’t use ActiveRecord



24
# File 'lib/spec/rails/story_adapter.rb', line 24

def self.fixture_table_names; []; end