Sha256: 3d9f2b144e77572c5feb0fd8e8bc81657ac49fa9195d7515f3a96f7cd45505b5
Contents?: true
Size: 360 Bytes
Versions: 2
Compression:
Stored size: 360 Bytes
Contents
module RubyQuiz1 describe Suit do let :name do :club end let :value do 0 end subject do described_class.new name, value end it "initiazes and gets the name" do expect(subject.name).to eq name end it "initializes and gets the name" do expect(subject.value).to eq value 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/suit_spec.rb |
ruby_quiz_1-0.0.1 | spec/lib/ruby_quiz_1/suit_spec.rb |