Skip to content

Commit

Permalink
[ci] Remove controller spec for save_person
Browse files Browse the repository at this point in the history
Removed the spec test because it will be covered in the feature spec for
the user tab.
  • Loading branch information
Moises Deniz Aleman committed Feb 9, 2018
1 parent 25cfdd6 commit 52cc7dd
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions src/api/spec/controllers/webui/project_controller_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1725,17 +1725,6 @@
it { expect(assigns[:maintained_projects]).to eq([maintained_project.project.name]) }
end

describe 'GET #save_person' do
let(:new_user) { create(:user) }

before do
login user
post :save_person, params: { project: user.home_project, role: 'maintainer', userid: new_user.login }
end

it { expect(response).to redirect_to(users_path) }
end

describe '#filter_matches?' do
let(:input) { 'ThisIsAPackage' }

Expand Down

0 comments on commit 52cc7dd

Please sign in to comment.