I'm completely aware of that. Although remember that these three task will
be written by 3 different persons, so each test will work for each coder.
After merge next person will just change it to "size ** 2 - 1"

W dniu poniedziałek, 19 maja 2014 Stanisław Tuszyński <
notifications@github.com> napisał(a):

> In spec/unit/board_spec.rb:
>
> > @@ -22,4 +22,22 @@
> >        }.not_to raise_error
> >      end
> >    end
> > +
> > +  it "fills a board with '.'" do
> > +    expect{
> > +      board.grid.flatten.count('.')
> > +    }.to eq(board.size ** 2)
> > +  end
> > +
> > +  it "puts 'X' in the center of a board" do
> > +    expect{
> > +      board.grid[board.size/2][board.size/2]
> > +    }.to eq('X')
>
> I think your first test and second one will dont work together. You expect
> grid would have all fields contains dots but in second test one of them
> should be 'X'. You should specify those test to some methods that doing
> that fill up job or modify first test to handle that extra X in grid. ;)
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/gotar/mini-logo/pull/3/files#r12779181>
> .
>


-- 
Pozdrawiam
Mateusz Nowakowski