Commit 57847e69 authored by Z.J. van de Weg's avatar Z.J. van de Weg

Clean up spec

parent 39467838
...@@ -46,9 +46,7 @@ feature 'Group', feature: true do ...@@ -46,9 +46,7 @@ feature 'Group', feature: true do
describe 'Mattermost team creation' do describe 'Mattermost team creation' do
before do before do
mash = Hashie::Mash.new allow(Settings.mattermost).to receive_messages(enabled: mattermost_enabled)
mash.enabled = mattermost_enabled
allow(Settings).to receive(:mattermost).and_return(mash)
visit new_group_path visit new_group_path
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment