Sha256: 973baf640461d822b103edd271c8f1237119a5b88fff3a22fa1868f0cb7eb201

Contents?: true

Size: 399 Bytes

Versions: 5

Compression:

Stored size: 399 Bytes

Contents

require 'appfuel'
require_relative 'helpers'


RSpec.configure do |config|
  config.before(:each) do

    @types = Types.container

    Types.send(:instance_variable_set, :@container, @types.dup)
    Appfuel.framework_container = Dry::Container.new
  end

  config.after(:each) do
    Types.send(:instance_variable_set, :@container, @types)
  end

  config.include Appfuel::TestingSpec::Helpers
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
appfuel-0.7.0 lib/appfuel/testing_spec/appfuel_spec_helper.rb
appfuel-0.6.16 lib/appfuel/testing_spec/appfuel_spec_helper.rb
appfuel-0.6.15 lib/appfuel/testing_spec/appfuel_spec_helper.rb
appfuel-0.6.14 lib/appfuel/testing_spec/appfuel_spec_helper.rb
appfuel-0.6.13 lib/appfuel/testing_spec/appfuel_spec_helper.rb