Sha256: 78547aa7909f06661d1d0bea8b08abed5c141f8571041a729d5d798e2f66dac3
Contents?: true
Size: 479 Bytes
Versions: 12
Compression:
Stored size: 479 Bytes
Contents
module Turnip # In this module should be combined common turnip steps module Steps # PUT GLOBAL STEPS HERE end end # This module combines turnip steps for example.feature module MonsterSteps attr_accessor :monster step 'there is a monster' do self.monster = 1 end step 'I attack it' do self.monster -= 1 end step 'it should die' do expect(self.monster).to eq(0) end end RSpec.configure { |c| c.include MonsterSteps, monster_steps: true }
Version data entries
12 entries across 12 versions & 1 rubygems