Commit 68c63939 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Fix environments_controller_spec

Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent 78d2ac44
......@@ -297,6 +297,7 @@ describe Projects::EnvironmentsController do
context 'with deployment service' do
let(:project) { create(:kubernetes_project) }
let(:environment) { create(:environment, name: 'production', project: project) }
before do
allow_any_instance_of(License).to receive(:feature_available?).with(:deploy_board).and_return(true)
......
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