Class: Cucumber::Rails::World

Inherits:
ActionController::IntegrationTest
  • Object
show all
Includes:
ActiveSupport::Testing::SetupAndTeardown
Defined in:
lib/cucumber/rails/world.rb

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeWorld

:nodoc:



38
39
40
# File 'lib/cucumber/rails/world.rb', line 38

def initialize #:nodoc:
  @_result = Test::Unit::TestResult.new
end

Class Method Details

.fixture_table_namesObject

Workaround for projects that don’t use ActiveRecord



33
# File 'lib/cucumber/rails/active_record.rb', line 33

def World.fixture_table_names; []; end

.versionObject



42
43
44
# File 'lib/cucumber/rails/world.rb', line 42

def self.version
  IO.read(File.expand_path(File.dirname(__FILE__) + '/../../../VERSION')).chomp
end