add rspec controller test
This commit is contained in:
parent
48392e717b
commit
e57d3672cd
1 changed files with 7 additions and 0 deletions
|
|
@ -41,6 +41,13 @@ describe InvitationsController do
|
|||
end
|
||||
end
|
||||
|
||||
describe '#email' do
|
||||
it 'succeeds' do
|
||||
get :email, :invitation_code => "anycode"
|
||||
response.should be_success
|
||||
end
|
||||
end
|
||||
|
||||
describe '#new' do
|
||||
it 'renders' do
|
||||
sign_in :user, @user
|
||||
|
|
|
|||
Loading…
Reference in a new issue