dont auto beta flag anyone

This commit is contained in:
Maxwell Salzberg 2012-08-20 10:39:14 -07:00
parent 35937b24b7
commit e0408e6fae

View file

@ -86,12 +86,6 @@ describe RegistrationsController do
response.should be_redirect
response.location.should match /^#{root_url}\??$/
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
context "with invalid parameters" do