Skip to content

Commit

Permalink
card nearly complete
Browse files Browse the repository at this point in the history
  • Loading branch information
cfeduke committed Oct 24, 2011
1 parent e0fc29f commit 64ad41b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions spec/deck_of_cards/card_spec.rb
Expand Up @@ -19,6 +19,13 @@ module DeckOfCards
it { @card.suit.should == :spades }
it { @card.face.should == :king }
end

describe "#create_suit" do
before { @suit = Card.create_suit(:spades) }

it { @suit.should_not == nil }
it { @suit.count.should == 13 }
end
end

context "invalid values" do
Expand Down

0 comments on commit 64ad41b

Please sign in to comment.