From f75d8a318dd69062b44cd4e556bec45f51a1b588 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9my=20Coutable?= Date: Fri, 21 Oct 2016 18:44:23 +0200 Subject: Fix RSpec failures MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Rémy Coutable --- spec/controllers/projects/project_members_controller_spec.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/spec/controllers/projects/project_members_controller_spec.rb b/spec/controllers/projects/project_members_controller_spec.rb index 9128224c7c5..d56de9adbc3 100644 --- a/spec/controllers/projects/project_members_controller_spec.rb +++ b/spec/controllers/projects/project_members_controller_spec.rb @@ -273,6 +273,8 @@ describe Projects::ProjectMembersController do end describe 'POST create' do + let(:project) { create(:project) } + let(:user) { create(:user) } let(:stranger) { create(:user) } context 'when creating owner' do -- cgit v1.2.1