Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
12 lines (9 sloc) 249 Bytes
require_relative "helper"
describe Sprite do
let(:sprite) { Sprite.new "p1-1" }
it 'should be able to be drawed' do
screen = mock("Screen")
screen.should_receive(:draw).with(sprite, 10, 20)
sprite.draw_on(screen, 10, 20)
end
end