Sha256: 7a3a9e9f673808d34e82d72bd8f8c195e0bd76539014a30d3a98062aeadae050

Contents?: true

Size: 407 Bytes

Versions: 9

Compression:

Stored size: 407 Bytes

Contents

require "spec_helper"

module Test
  module ModuleDependency
    module Example; end
  end
end
describe Scorpion::Dependency::ModuleDependency do
  let( :scorpion ) { double }
  let( :dependency ) { Scorpion::Dependency::ModuleDependency.new( Test::ModuleDependency::Example ) }

  it "returns the module itself" do
    expect( dependency.fetch( scorpion ) ).to be Test::ModuleDependency::Example
  end

end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
scorpion-ioc-1.0.10 spec/lib/scorpion/dependency/module_dependency_spec.rb
scorpion-ioc-1.0.8 spec/lib/scorpion/dependency/module_dependency_spec.rb
scorpion-ioc-1.0.7 spec/lib/scorpion/dependency/module_dependency_spec.rb
scorpion-ioc-1.0.6 spec/lib/scorpion/dependency/module_dependency_spec.rb
scorpion-ioc-1.0.4 spec/lib/scorpion/dependency/module_dependency_spec.rb
scorpion-ioc-1.0.3 spec/lib/scorpion/dependency/module_dependency_spec.rb
scorpion-ioc-1.0.2 spec/lib/scorpion/dependency/module_dependency_spec.rb
scorpion-ioc-1.0.1 spec/lib/scorpion/dependency/module_dependency_spec.rb
scorpion-ioc-1.0.0 spec/lib/scorpion/dependency/module_dependency_spec.rb