Sha256: 33469b93da0020c622c481d0f4abe4f007fc92120e6f9628942686e78e52454c
Contents?: true
Size: 356 Bytes
Versions: 4
Compression:
Stored size: 356 Bytes
Contents
require File.join(File.dirname(__FILE__),'helper') require 'resource_manager' describe 'A new resource manager' do before do @res_man = ResourceManager.new end it 'should load an actor image' do @res_man.should_receive(:load_image).with("string.png").and_return(:surf) @res_man.load_actor_image("FoopyPants").should == :surf end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
gamebox-0.1.1 | spec/resource_manager_spec.rb |
gamebox-0.1.0 | spec/resource_manager_spec.rb |
gamebox-0.0.9 | spec/resource_manager_spec.rb |
gamebox-0.0.8 | spec/resource_manager_spec.rb |