Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 8476928c5c
Fetching contributors…

Cannot retrieve contributors at this time

24 lines (18 sloc) 0.506 kb
require 'spec_helper'
describe RubyWarrior::Units::Wizard do
before(:each) do
@wizard = RubyWarrior::Units::Wizard.new
end
it "should have look and shoot abilities" do
@wizard.abilities.keys.to_set.should == [:shoot!, :look].to_set
end
it "should have shoot power of 11" do
@wizard.shoot_power.should == 11
end
it "should have 3 max health" do
@wizard.max_health.should == 3
end
it "should appear as w on map" do
@wizard.character.should == "w"
end
end
Jump to Line
Something went wrong with that request. Please try again.