Commit c51d42fa authored by http://jneen.net/'s avatar http://jneen.net/ Committed by Bryce Johnson

wip spec

parent 68ea2f93
......@@ -125,6 +125,26 @@ describe Projects::MergeRequestsController do
end
end
context 'approvals' do
describe 'approve' do
before do
project.team << [user, :developer]
post :approve,
namespace_id: project.namespace.to_param,
project_id: project.to_param,
id: merge_request.iid
end
it 'thing' do
expect(response).to be_success
binding.pry
expect(true).to be_true
end
end
end
shared_examples "loads labels" do |action|
it "loads labels into the @labels variable" do
get action,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment