WIP
This commit is contained in:
parent
83a9e916e4
commit
2c1c2a4a8a
2 changed files with 2 additions and 2 deletions
|
|
@ -31,7 +31,7 @@ Diaspora::Application.routes.draw do
|
|||
match 'photos/make_profile_photo' => 'photos#make_profile_photo'
|
||||
resources :photos, :except => [:index]
|
||||
|
||||
|
||||
match 'invitations/resend/:id' => 'invitations#resend'
|
||||
devise_for :users, :controllers => {:registrations => "registrations",
|
||||
:password => "devise/passwords",
|
||||
:invitations => "invitations"} do
|
||||
|
|
|
|||
|
|
@ -301,7 +301,7 @@ describe Invitation do
|
|||
describe '.resend' do
|
||||
before do
|
||||
aspect
|
||||
user.invite_user("a@a.com", aspect.id)
|
||||
user.invite_user(aspect.id, 'email', "a@a.com", "")
|
||||
@invitation = user.reload.invitations_from_me.first
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue