Skip to content

Commit

Permalink
dont auto beta flag anyone
Browse files Browse the repository at this point in the history
  • Loading branch information
maxwell committed Aug 20, 2012
1 parent 35937b2 commit e0408e6
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions spec/controllers/registrations_controller_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -86,12 +86,6 @@
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
Expand Down

0 comments on commit e0408e6

Please sign in to comment.