Sha256: 25104e2e257d07ccf5dcfaae70fb57839a3d7e00dea839da58431b1485c728be
Contents?: true
Size: 457 Bytes
Versions: 1
Compression:
Stored size: 457 Bytes
Contents
module RubyQuiz2 describe Selection do let :santa do double(Person) end let :giftee do double(Person) end subject do described_class.new santa, giftee end context "when the santa and giftee are valid for a selection" do it "sets the santa" do expect(subject.santa).to eq santa end it "sets the giftee" do expect(subject.giftee).to eq giftee end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ruby_quiz_2-1.0.0 | spec/lib/ruby_quiz_2/selection_spec.rb |