Sha256: 775ceb61966ae9d3cc73c8f95435574b99f51a5b931f78b0162918a03879e990

Contents?: true

Size: 334 Bytes

Versions: 2

Compression:

Stored size: 334 Bytes

Contents

module RubyQuiz1
  describe Solitaire do
    context "for a standard deck" do
      subject do
        described_class.new StandardDeck.new
      end

      it "calculates the correct first 10 keys" do
        %w(D W J X H Y R F D G).each do |key|
          expect(subject.next_key).to eq key
        end
      end
    end

  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ruby_quiz_1-0.0.2 spec/lib/ruby_quiz_1/solitaire_spec.rb
ruby_quiz_1-0.0.1 spec/lib/ruby_quiz_1/solitaire_spec.rb