summaryrefslogtreecommitdiff
path: root/spec/features/groups_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/features/groups_spec.rb')
-rw-r--r--spec/features/groups_spec.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/spec/features/groups_spec.rb b/spec/features/groups_spec.rb
index f978075ab93..9f173dbc99d 100644
--- a/spec/features/groups_spec.rb
+++ b/spec/features/groups_spec.rb
@@ -46,9 +46,7 @@ feature 'Group', feature: true do
describe 'Mattermost team creation' do
before do
- mash = Hashie::Mash.new
- mash.enabled = mattermost_enabled
- allow(Settings).to receive(:mattermost).and_return(mash)
+ allow(Settings.mattermost).to receive_messages(enabled: mattermost_enabled)
visit new_group_path
end