Module: SetPatternSpecHelper
- Defined in:
- spec/lib/card/set_pattern_spec.rb
Instance Method Summary collapse
Instance Method Details
#it_generates(opts) ⇒ Object
4 5 6 7 8 9 10 |
# File 'spec/lib/card/set_pattern_spec.rb', line 4 def it_generates opts name = opts[:name] card = opts[:from] it "generates name '#{name}' for card '#{card.name}'" do expect(described_class.new(card).to_s).to eq(name) end end |