Sha256: 70daaa934acb39c1c50eb53d2390ecbc201ca4545cefb9090a30fbb5a011b6cc

Contents?: true

Size: 305 Bytes

Versions: 18

Compression:

Stored size: 305 Bytes

Contents

require 'scorpion'

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

    def self.scorpion_nest
      @scorpion_nest ||= Scorpion.instance.build_nest
    end

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

  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
scorpion-ioc-0.6.2 lib/scorpion/rspec.rb
scorpion-ioc-0.6.1 lib/scorpion/rspec.rb
scorpion-ioc-0.6.0 lib/scorpion/rspec.rb
scorpion-ioc-0.5.23 lib/scorpion/rspec.rb
scorpion-ioc-0.5.22 lib/scorpion/rspec.rb
scorpion-ioc-0.5.21 lib/scorpion/rspec.rb
scorpion-ioc-0.5.20 lib/scorpion/rspec.rb
scorpion-ioc-0.5.19 lib/scorpion/rspec.rb
scorpion-ioc-0.5.18 lib/scorpion/rspec.rb
scorpion-ioc-0.5.17 lib/scorpion/rspec.rb
scorpion-ioc-0.5.16 lib/scorpion/rspec.rb
scorpion-ioc-0.5.15 lib/scorpion/rspec.rb
scorpion-ioc-0.5.14 lib/scorpion/rspec.rb
scorpion-ioc-0.5.13 lib/scorpion/rspec.rb
scorpion-ioc-0.5.12 lib/scorpion/rspec.rb
scorpion-ioc-0.5.11 lib/scorpion/rspec.rb
scorpion-ioc-0.5.10 lib/scorpion/rspec.rb
scorpion-ioc-0.5.9 lib/scorpion/rspec.rb