BigW Consortium Gitlab

Commit 57847e69 by Z.J. van de Weg

Clean up spec

parent 39467838
......@@ -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
......
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