Sha256: c40b0e5e0fc491d2e5c6d7224d10086b9586455d9a1700eceafc265f4d7adfd4

Contents?: true

Size: 411 Bytes

Versions: 3

Compression:

Stored size: 411 Bytes

Contents

# frozen_string_literal: true

RSpec.describe Spree::SocialConfig do
  it "changing a preference does not create a Spree::Preference" do
    expect { subject.path_prefix = 'customer' }.not_to change(Spree::Preference, :count)
  end

  it "holds configuration for the five default providers" do
    expect(subject.providers.keys).to match_array([:amazon, :facebook, :github, :google_oauth2, :twitter])
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
solidus_social-1.4.0 spec/lib/spree/social_config_spec.rb
solidus_social-1.3.1 spec/lib/spree/social_config_spec.rb
solidus_social-1.3.0 spec/lib/spree/social_config_spec.rb