Sha256: 4bad3425ac8020329ed6e1193a56d2d5db8db4231bd345ce48685d2c66205023
Contents?: true
Size: 355 Bytes
Versions: 4
Compression:
Stored size: 355 Bytes
Contents
require 'spec_helper' module Test module ModulePrey module Example; end end end describe Scorpion::Prey::ModulePrey do let( :scorpion ){ double } let( :prey ) { Scorpion::Prey::ModulePrey.new( Test::ModulePrey::Example ) } it "returns the module itself" do expect( prey.fetch( scorpion ) ).to be Test::ModulePrey::Example end end
Version data entries
4 entries across 4 versions & 1 rubygems