Add a simple api
method to ApiHelpers, replacing api_prefix
See docs for usage
This commit is contained in:
parent
fba174e9bc
commit
b2a5344a2d
5 changed files with 33 additions and 3 deletions
|
@ -1,6 +1,8 @@
|
|||
require 'spec_helper'
|
||||
|
||||
describe Gitlab::API do
|
||||
include ApiHelpers
|
||||
|
||||
let(:user) { Factory :user }
|
||||
let!(:project) { Factory :project, owner: user }
|
||||
let!(:issue) { Factory :issue, author: user, assignee: user, project: project }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue