diff --git a/test/functional/phases_controller_test.rb b/test/functional/phases_controller_test.rb index efbbc54..06257c1 100644 --- a/test/functional/phases_controller_test.rb +++ b/test/functional/phases_controller_test.rb @@ -58,6 +58,9 @@ get edit_plan_phase_path(@plan, @template.phases.first) assert_unauthorized_redirect_to_root_path + +puts "SIGNING IN AS: #{@user.inspect}" + sign_in @user # TODO: Why does the policy check fail when @user is the creator and owner of @plan!?