saasbook / rag

Ruby Auto-grader
http://saas-class.org
Other
44 stars 70 forks source link

unit acceptance test grader fails in strange way #121

Closed tansaku closed 7 years ago

tansaku commented 7 years ago

we have code that causes some paths to end up going to the "non-existent" rails home page, e.g. this link when hit in cucumber scenario takes us to index.html

link_to 'Movie Title', movies_path(:sort => 'title', :ratings => @selected_ratings)

We have done case A

a) take boiler plate b) add reference sort_filtu.feature and steps and paths

case A is okay

Case B

a) take boiler plate b) sort_filter.feature is added c) other changes (routes, paths, add_director)