diff options
Diffstat (limited to 'spec/lib/gitlab/chat_spec.rb')
-rw-r--r-- | spec/lib/gitlab/chat_spec.rb | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/spec/lib/gitlab/chat_spec.rb b/spec/lib/gitlab/chat_spec.rb deleted file mode 100644 index a9df35ace98..00000000000 --- a/spec/lib/gitlab/chat_spec.rb +++ /dev/null @@ -1,19 +0,0 @@ -# frozen_string_literal: true - -require 'spec_helper' - -RSpec.describe Gitlab::Chat, :use_clean_rails_memory_store_caching do - describe '.available?' do - it 'returns true when the chatops feature is available' do - stub_feature_flags(chatops: true) - - expect(described_class).to be_available - end - - it 'returns false when the chatops feature is not available' do - stub_feature_flags(chatops: false) - - expect(described_class).not_to be_available - end - end -end |