diff options
author | Zeger-Jan van de Weg <zegerjan@gitlab.com> | 2016-02-17 12:49:38 +0100 |
---|---|---|
committer | Zeger-Jan van de Weg <zegerjan@gitlab.com> | 2016-02-22 12:50:25 +0100 |
commit | 15a6633999c81387245cabf129dd2fbb04650c95 (patch) | |
tree | fad334998fa38ebc1c5540b0cef2136816f38e72 /spec/controllers | |
parent | 829830ae9df9e777716e03fa393a328d3ff882b0 (diff) | |
download | gitlab-ce-15a6633999c81387245cabf129dd2fbb04650c95.tar.gz |
Revert authors ability to assign anyone
Diffstat (limited to 'spec/controllers')
-rw-r--r-- | spec/controllers/autocomplete_controller_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/controllers/autocomplete_controller_spec.rb b/spec/controllers/autocomplete_controller_spec.rb index 0754a2889fc..612e344c411 100644 --- a/spec/controllers/autocomplete_controller_spec.rb +++ b/spec/controllers/autocomplete_controller_spec.rb @@ -12,13 +12,13 @@ describe AutocompleteController do project.team << [user, :master] end - let(:body) { JSON.parse(response.body) } - describe 'GET #users with project ID' do before do get(:users, project_id: project.id) end + let(:body) { JSON.parse(response.body) } + it { expect(body).to be_kind_of(Array) } it { expect(body.size).to eq 1 } it { expect(body.first["username"]).to eq user.username } |