Sha256: 3b26b46dd683715c81059b0a0a74ff3ae4ec61aa4b8f57fae334b128c087ef8f

Contents?: true

Size: 634 Bytes

Versions: 1

Compression:

Stored size: 634 Bytes

Contents

# frozen_string_literal: true

RSpec.describe SolidusFeeds do
  let(:store) { instance_double(Spree::Store, name: "The Best Store", url: "example.com") }

  before { allow(Spree::Store).to receive(:default).and_return(store) }

  specify '.title' do
    expect(described_class.title).to eq("The Best Store")
  end

  specify '.link' do
    expect(described_class.link).to eq("https://example.com")
  end

  specify '.description' do
    expect(described_class.description).to eq("Find out about new products on https://example.com first!")
  end

  specify '.language' do
    expect(described_class.language).to eq("en-us")
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
solidus_feeds-0.1.0 spec/lib/solidus_feeds/solidus_feeds_spec.rb