Sha256: 935b6be281983ac771fabd513f17c83b6f854da9a3c86f7e3a3b2c9bb7692a4d
Contents?: true
Size: 728 Bytes
Versions: 8
Compression:
Stored size: 728 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 < ActionDispatch::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 unless 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
8 entries across 8 versions & 1 rubygems