Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'spec/lib/gitlab/slash_commands/run_spec.rb')
-rw-r--r--spec/lib/gitlab/slash_commands/run_spec.rb10
1 files changed, 0 insertions, 10 deletions
diff --git a/spec/lib/gitlab/slash_commands/run_spec.rb b/spec/lib/gitlab/slash_commands/run_spec.rb
index 9d204228d21..5d228a9ba6a 100644
--- a/spec/lib/gitlab/slash_commands/run_spec.rb
+++ b/spec/lib/gitlab/slash_commands/run_spec.rb
@@ -39,16 +39,6 @@ RSpec.describe Gitlab::SlashCommands::Run do
expect(described_class.available?(project)).to eq(false)
end
-
- it 'returns false when chatops is not available' do
- allow(Gitlab::Chat)
- .to receive(:available?)
- .and_return(false)
-
- project = double(:project, builds_enabled?: true)
-
- expect(described_class.available?(project)).to eq(false)
- end
end
describe '.allowed?' do