features/users/logging_out.feature in activeadmin-0.3.4 vs features/users/logging_out.feature in activeadmin-0.4.0
- old
+ new
@@ -9,5 +9,16 @@
"""
And I am logged in
When I go to the dashboard
And I follow "Logout"
Then I should see "Login"
+
+ Scenario: With logout_link_path set to :logout_path (the symbol)
+ Given a configuration of:
+ """
+ ActiveAdmin.setup do |config|
+ config.logout_link_path = :logout_path
+ end
+ """
+ And I am logged in
+ When I go to the dashboard
+ Then I should see the default welcome message