Sha256: 0b44878d773682d6212819fdcf19a0898f88073389abae665e8288169d7414d0

Contents?: true

Size: 224 Bytes

Versions: 2

Compression:

Stored size: 224 Bytes

Contents

require "twenty_one/card"

include TwentyOne

describe Card do

	before(:each) do
		@card = Card.new :spades, 2
	end

	it "should have a type corresponding to a playing card" do
		expect(@card.suit).to eq(:spades)
	end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
twenty_one-0.1.1 spec/lib/card_spec.rb
twenty_one-0.1.0 spec/lib/card_spec.rb