Sha256: ccab83ec8e21a8446e7f3d504ef7c2b5d25244b015ff5bdaae88713e9c5a4c3f

Contents?: true

Size: 290 Bytes

Versions: 9

Compression:

Stored size: 290 Bytes

Contents

require 'scorpion'

module Scorpion
  module Rspec
    require 'scorpion/rspec/helper'

    def self.scorpion_nest
      @scorpion ||= Scorpion::Nest.new
    end

    # Prepare a root scorpion for testing.
    def self.prepare( &block )
      scorpion_nest.prepare &block
    end

  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
scorpion-ioc-0.5.8 lib/scorpion/rspec.rb
scorpion-ioc-0.5.7 lib/scorpion/rspec.rb
scorpion-ioc-0.5.6 lib/scorpion/rspec.rb
scorpion-ioc-0.5.5 lib/scorpion/rspec.rb
scorpion-ioc-0.5.4 lib/scorpion/rspec.rb
scorpion-ioc-0.5.2 lib/scorpion/rspec.rb
scorpion-ioc-0.5.1 lib/scorpion/rspec.rb
scorpion-ioc-0.5.0 lib/scorpion/rspec.rb
scorpion-ioc-0.4.0 lib/scorpion/rspec.rb