#214: removed unnecessary specs

This commit is contained in:
Vokhmin Alexey V 2013-07-13 00:31:23 +04:00
parent a8f4648a08
commit 953c327b46
1 changed files with 0 additions and 10 deletions

View File

@ -97,11 +97,6 @@ shared_examples_for 'user with pull request update rights' do
response.should redirect_to(project_pull_request_path(@pull.to_project, @pull))
end
it 'should be able to perform merge action' do
put :merge, @update_params
response.should redirect_to(project_pull_request_path(@pull.to_project, @pull))
end
let(:pull) { @project.pull_requests.find(@pull) }
it 'should update pull request status' do
put :update, @update_params
@ -135,11 +130,6 @@ shared_examples_for 'user without pull request update rights' do
response.should redirect_to(controller.current_user ? forbidden_path : new_user_session_path)
end
it 'should not be able to perform merge action' do
put :merge, @update_params
response.should redirect_to(controller.current_user ? forbidden_path : new_user_session_path)
end
let(:pull) { @project.pull_requests.find(@pull) }
it 'should not update pull request status' do
put :update, @update_params