move test to refactoring branch
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
decfba13ec
commit
6cc9a0bb49
1 changed files with 0 additions and 10 deletions
|
@ -184,16 +184,6 @@ describe HomeController, type: :controller do
|
|||
expect(response).to redirect_to(my_profile_path)
|
||||
expect(flash[:notice]).to match(/#{I18n.t('home.ordergroup_cancelled', :group => membership.group.name)}/)
|
||||
end
|
||||
|
||||
it 'removes user membership' do
|
||||
membership = fin_user.memberships.first
|
||||
get :cancel_membership,
|
||||
params: { foodcoop: FoodsoftConfig[:default_scope],
|
||||
membership_id: membership.id }
|
||||
expect(response).to have_http_status(:redirect)
|
||||
expect(response).to redirect_to(my_profile_path)
|
||||
expect(flash[:notice]).to match(/#{I18n.t('home.ordergroup_cancelled', :group => membership.group.name)}/)
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue