diff options
author | Felipe Artur <felipefac@gmail.com> | 2016-04-05 11:51:19 -0300 |
---|---|---|
committer | Felipe Artur <felipefac@gmail.com> | 2016-04-07 10:59:24 -0300 |
commit | 0bef4b97647893df8cf0a781f768b1775ae2bb58 (patch) | |
tree | c72043d7b4263efd229d93329237a60d0e0684da /spec/controllers | |
parent | 32c7e42b612bdda43eeef55d8c8afdc9eeb33785 (diff) | |
download | gitlab-ce-0bef4b97647893df8cf0a781f768b1775ae2bb58.tar.gz |
Implement review suggestions
Diffstat (limited to 'spec/controllers')
-rw-r--r-- | spec/controllers/groups/milestones_controller_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/controllers/groups/milestones_controller_spec.rb b/spec/controllers/groups/milestones_controller_spec.rb index 9c7b5c74b8e..b0793cb1655 100644 --- a/spec/controllers/groups/milestones_controller_spec.rb +++ b/spec/controllers/groups/milestones_controller_spec.rb @@ -27,7 +27,7 @@ describe Groups::MilestonesController do it "redirects to new when there are no project ids" do post :create, group_id: group.id, milestone: { title: title, project_ids: [""] } expect(response).to render_template :new - expect(assigns(:milestone).errors).to_not be_nil + expect(assigns(:milestone).errors).not_to be_nil end end end |