Sha256: 8e7e099f5d6b8d947231c31e257f904a87d26c96bfb9a0d4092dcbd095a9e8f4
Contents?: true
Size: 727 Bytes
Versions: 16
Compression:
Stored size: 727 Bytes
Contents
begin # Try to load it so we can assign @_result below if needed. require 'test/unit/testresult' rescue LoadError => ignore end module Cucumber #:nodoc: module Rails #:nodoc: class World < ActionController::IntegrationTest #:nodoc: include Rack::Test::Methods include ActiveSupport::Testing::SetupAndTeardown if ActiveSupport::Testing.const_defined?("SetupAndTeardown") def initialize #:nodoc: @_result = Test::Unit::TestResult.new if defined?(Test::Unit::TestResult) end if !defined?(ActiveRecord::Base) def self.fixture_table_names; []; end # Workaround for projects that don't use ActiveRecord end end end end World do Cucumber::Rails::World.new end
Version data entries
16 entries across 16 versions & 2 rubygems