draper/features/route_helpers.feature

18 lines
381 B
Gherkin
Raw Normal View History

2012-10-24 11:24:03 +00:00
Feature: Route helpers should work in decorators
Background:
Given a post exists
Scenario:
Then a _path helper with the underlying model works
Scenario:
Then a _path helper with the underlying model's id works
Scenario:
Then a _url helper with the underlying model works
Scenario:
Then a _url helper with the underlying model's id works