by mattvanhorn · 13y ago · 0 comments
It's no more burden to write step definitions than it is to write RSpec directly. I use SOLID OOP to write my tests, most of the logic lives in regular old methods, and my steps look like:
Then 'the current subscription payment date should be tomorrow' do
verify_next_payment_date(Date.today + 1)
end
Since I start with the Gherkin file, I type less than 10 keystrokes to make the step.No comments yet.