Commit 3922e7ee authored by Andrei Gliga's avatar Andrei Gliga
Browse files

enabled_button_based_providers into their own describe section

parent 5359b81ce05f
......@@ -16,7 +16,9 @@
allow(helper).to receive(:auth_providers) { [] }
expect(helper.button_based_providers).to eq([])
describe 'enabled_button_based_providers' do
it 'returns all the enabled providers from settings' do
allow(helper).to receive(:auth_providers) { [:twitter, :github] }
expect(helper.enabled_button_based_providers).to include(*['twitter', 'github'])
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