Sha256: b2924bca20f3d3613feb09f61cdd108e807b07a1a23277cd61fa9078ee4dbb2a

Contents?: true

Size: 354 Bytes

Versions: 12

Compression:

Stored size: 354 Bytes

Contents

# encoding: utf-8

RSpec.configure do |config|

  # Prepares a sandbox before corresponding spec.
  config.before :each, :sandbox do
    require_relative "../sandbox/helpers"
    require_relative "../sandbox/matchers"
    prepare_sandbox
  end

  # Clears a sandbox after corresponding spec.
  config.after :each, :sandbox do
    clear_sandbox
  end
end

Version data entries

12 entries across 12 versions & 2 rubygems

Version Path
hexx-suit-1.5.0-x86_64-linux spec/support/config/sandbox.rb
hexx-rspec-0.2.0 spec/support/config/sandbox.rb
hexx-suit-1.3.0-x86_64-linux spec/support/config/sandbox.rb
hexx-suit-1.2.0 spec/support/config/sandbox.rb
hexx-rspec-0.1.0 spec/support/config/sandbox.rb
hexx-suit-1.0.0 spec/support/config/sandbox.rb
hexx-rspec-0.0.1 spec/support/config/sandbox.rb
hexx-suit-0.2.2 spec/support/config/sandbox.rb
hexx-suit-0.2.1 spec/support/config/sandbox.rb
hexx-suit-0.2.0 spec/support/config/sandbox.rb
hexx-suit-0.1.0 spec/support/config/sandbox.rb
hexx-suit-0.0.1 spec/support/config/sandbox.rb