Re: How do i include my step files?

35 views
Skip to first unread message
Message has been deleted

Lukas Oberhuber

unread,
May 15, 2013, 7:51:54 AM5/15/13
to ruby-...@googlegroups.com
Emil,

In your case, I think you should put the following in your spec_helper.rb file:
Dir.glob("spec/acceptance/steps/**/*steps.rb") { |f| load f, true }
I'm not sure that's your problem however. Those steps will all be loaded into the modules as you specify in the step file.

Hope this helps,

-Lukas
Reply all
Reply to author
Forward
0 new messages