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 }