dont auto beta flag anyone
This commit is contained in:
parent
35937b24b7
commit
e0408e6fae
1 changed files with 0 additions and 6 deletions
|
|
@ -86,12 +86,6 @@ describe RegistrationsController do
|
||||||
response.should be_redirect
|
response.should be_redirect
|
||||||
response.location.should match /^#{root_url}\??$/
|
response.location.should match /^#{root_url}\??$/
|
||||||
end
|
end
|
||||||
|
|
||||||
it 'with an invite code from a beta users, make the user beta' do
|
|
||||||
Role.add_beta(bob.person)
|
|
||||||
get :create, @valid_params.merge(:invite => {:token => bob.invitation_code.token})
|
|
||||||
User.last.should be_beta
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
|
|
||||||
context "with invalid parameters" do
|
context "with invalid parameters" do
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue