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:
authorZ.J. van de Weg <git@zjvandeweg.nl>2017-03-06 20:01:22 +0300
committerZ.J. van de Weg <git@zjvandeweg.nl>2017-03-06 20:01:22 +0300
commit57847e6930e768a3ca755bf8e26fce469f22c905 (patch)
treec99b2de2d1d3f105ff4ecdbfcd04db53a247b116 /spec/features/groups_spec.rb
parent394678381bcd6f6bf6550719e80814962da01578 (diff)
Clean up spec
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