Sha256: df11fe9b8c415bcc106b776a999ee26a9c6c1c2781eae7aabf37f0d09c00f08c
Contents?: true
Size: 172 Bytes
Versions: 2
Compression:
Stored size: 172 Bytes
Contents
class EpisodeCureator < ActiveCucumber::Cureator def value_for_show show_name Show.find_by(name: show_name) || FactoryGirl.create(:show, name: show_name) end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
active_cucumber-0.0.3 | features/support/episode_cureator.rb |
active_cucumber-0.0.2 | features/support/episode_cureator.rb |