Done.
On Mar 14, 2014, at 12:46 PM, Tim Irwin <notifications@github.com> wrote:

> In spec/models/deck_spec.rb:
> 
> > +      both_the_same = true
> > +      for i in 0..(@deck.count - 1) do
> > +        if @deck.cards[i] != @deck2.cards[i]
> > +          both_the_same = false
> > +          break
> > +        end
> > +      end
> > +
> > +      both_the_same.should be_true
> > +    end
> > +
> > +    it ".shuffle changes the order." do
> > +      @deck2.shuffle
> > +
> > +      both_the_same = true
> > +      for i in 0..(@deck.count - 1) do
> A possible better approach is to use @deck.cards.each_with_index.
> 
> —
> Reply to this email directly or view it on GitHub.
>