diff options
author | Z.J. van de Weg <git@zjvandeweg.nl> | 2017-03-06 08:55:30 +0100 |
---|---|---|
committer | Z.J. van de Weg <git@zjvandeweg.nl> | 2017-03-06 08:55:30 +0100 |
commit | b3aae422a6adbc0e46901a0c9dde5b75b791e060 (patch) | |
tree | d93e28c1b502e777ec89f4a2af6c9ec3ec91ea3c /spec/features/groups_spec.rb | |
parent | 28910ffddf348f98b470462a0b354234774bf4f5 (diff) | |
download | gitlab-ce-b3aae422a6adbc0e46901a0c9dde5b75b791e060.tar.gz |
Minor edits, incorporate review
Diffstat (limited to 'spec/features/groups_spec.rb')
-rw-r--r-- | spec/features/groups_spec.rb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/spec/features/groups_spec.rb b/spec/features/groups_spec.rb index b4bd1925822..f978075ab93 100644 --- a/spec/features/groups_spec.rb +++ b/spec/features/groups_spec.rb @@ -46,7 +46,10 @@ feature 'Group', feature: true do describe 'Mattermost team creation' do before do - Settings.mattermost['enabled'] = mattermost_enabled + mash = Hashie::Mash.new + mash.enabled = mattermost_enabled + allow(Settings).to receive(:mattermost).and_return(mash) + visit new_group_path end |