Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
1 vote
1 answer
409 views

How to test activeadmin AuthorizationAdapter?

I have a custom AutorizationAdapter that I would like to test using RSpec: class AdminAuthorization < ActiveAdmin::AuthorizationAdapter def authorized?(_action, _subject = nil) user.admin? ...
null's user avatar
  • 4,330
0 votes
1 answer
50 views

Spec not logging in to edit profile

I am using RSpec and Capybara to write some tests for editing devise user profile: require 'rails_helper' feature "edit profile" do scenario "visiting site to edit profile" do ...
Jesse Mignac's user avatar