Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # To change this template, choose Tools | Templates
- # and open the template in the editor.
- require 'board'
- module SeniorSeminar
- describe Board do
- before(:each) do
- @d = 6
- @board = Board.new @d
- end
- context "when starting a new game" do
- it "should be empty" do
- @board.should be_empty
- end
- it "should retain its dimensions" do
- @board.dimensions.should be_eql [@d,@d]
- end
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement