features/support/paths.rb in activeadmin-0.5.1 vs features/support/paths.rb in activeadmin-0.6.0
- old
+ new
@@ -34,9 +34,12 @@
admin_user_posts_path(User.last)
when /^the last author's last post page$/
admin_user_post_path(User.last, Post.where(:author_id => User.last.id).last)
+ when /^the last post's edit page$/
+ edit_admin_post_path(Post.last)
+
# Add more mappings here.
# Here is an example that pulls values out of the Regexp:
#
# when /^(.*)'s profile page$/i
# user_profile_path(User.find_by_login($1))