diff options
author | Z.J. van de Weg <git@zjvandeweg.nl> | 2017-03-06 18:01:22 +0100 |
---|---|---|
committer | Z.J. van de Weg <git@zjvandeweg.nl> | 2017-03-06 18:01:22 +0100 |
commit | 57847e6930e768a3ca755bf8e26fce469f22c905 (patch) | |
tree | c99b2de2d1d3f105ff4ecdbfcd04db53a247b116 /spec | |
parent | 394678381bcd6f6bf6550719e80814962da01578 (diff) | |
download | gitlab-ce-57847e6930e768a3ca755bf8e26fce469f22c905.tar.gz |
Clean up spec
Diffstat (limited to 'spec')
-rw-r--r-- | spec/features/groups_spec.rb | 4 |
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 |