Sha256: 50988b6d69d278b6b2475bfc8171caadce40a427c50c6c45773adc911a86d204
Contents?: true
Size: 727 Bytes
Versions: 1
Compression:
Stored size: 727 Bytes
Contents
if ENV['RSPEC'] require 'rspec/autorun' else require 'pork-rspec' end module M def m 'm' end module N def n 'n' end end module_function def f 'f' end end class C def self.c 'C' end end RSpec.configure do |config| # config.use_transactional_fixtures = false # config.use_instantiated_fixtures = false config.mock_with :rspec # config.verbose_retry = true # config.display_try_failure_messages = true config.include M, type: :controller config.include M::N # config.infer_spec_type_from_file_location! config.raise_errors_for_deprecations! config.before(:suite) do # TODO end config.around(:each, :caching) do |example| # TODO end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
pork-rspec-0.5.0 | lib/pork-rspec/test.rb |