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