Sha256: fcdbdc4d02cfb3fa33a0d14b74ba6e0b62a937ce23e476c34ab3bb27bdd87fc6
Contents?: true
Size: 518 Bytes
Versions: 1
Compression:
Stored size: 518 Bytes
Contents
require 'lotu' describe "Actor" do before :each do @game = Lotu::Game.new @actor = Lotu::Actor.new end after :each do @actor.die end it{ @actor.should respond_to :x } it{ @actor.should respond_to :y } it{ @actor.should respond_to :parent } it{ @actor.should respond_to :color } describe "at creation" do it "#x == 0" do @actor.x.should == 0 end it "#y == 0" do @actor.y.should == 0 end it "#z == 0" do @actor.z.should == 0 end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
lotu-0.1.15 | spec/lotu/actor_spec.rb |