Sha256: a685e3c2dda799d4cbf679565872f6c95f2a37e213f14c8e247c42615b63f528
Contents?: true
Size: 357 Bytes
Versions: 8
Compression:
Stored size: 357 Bytes
Contents
require 'helper' describe 'A new resource manager' do let(:actor) { stub 'actor', actor_type: 'string' } subject { ResourceManager.new :wrapped_screen => stub(:screen => :fake_gosu) } it 'should load an actor image' do subject.expects(:load_image).with("string.png").returns(:surf) subject.load_actor_image(actor).should == :surf end end
Version data entries
8 entries across 8 versions & 1 rubygems