Sha256: 892c34273362e2a01edf685a2410b98b1c9ac4d14df50ef70d67ed7204254c88

Contents?: true

Size: 430 Bytes

Versions: 2

Compression:

Stored size: 430 Bytes

Contents

RSpec.describe SolidusSocial do
  context 'constants' do
    it { is_expected.to be_const_defined(:OAUTH_PROVIDERS) }

    it 'contain all providers' do
      oauth_providers = [
        %w(Amazon amazon),
        %w(Facebook facebook),
        %w(Twitter twitter),
        %w(Github github),
        %w(Google google_oauth2)
      ]
      expect(described_class::OAUTH_PROVIDERS).to match_array oauth_providers
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
solidus_social-1.1.0 spec/lib/spree_social/engine_spec.rb
solidus_social-1.0.0 spec/lib/spree_social/engine_spec.rb