spec/features/admin/users_feature_spec.rb in alchemy-devise-2.1.0 vs spec/features/admin/users_feature_spec.rb in alchemy-devise-3.2.0

- old
+ new

@@ -16,10 +16,10 @@ expect(page).not_to have_selector('.tag_list') end end context 'logged in as admin' do - before { authorize_as_admin(create(:alchemy_admin_user)) } + before { authorize_user(create(:alchemy_admin_user)) } describe 'create new user' do it "has send_credentials checkbox activated" do visit new_admin_user_path