Sha256: 9d5b9632e751b2d310b9e5e328d2fb1cf1452c7f63673d3eea93cea9e340424b

Contents?: true

Size: 342 Bytes

Versions: 5

Compression:

Stored size: 342 Bytes

Contents

require 'spec_helper'

describe Spree::BannerConfiguration do

  let(:object) { subject.class.new }

  [:banner_default_url, :banner_path, :banner_url, :banner_styles, :banner_default_style].each do |preference|
    it "should have the #{preference} preference" do
      expect(object.has_preference?(preference)).to be true
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
spree_zaez_banner-3.0.4 spec/models/spree/banner_configuration_spec.rb
spree_zaez_banner-3.0.3 spec/models/spree/banner_configuration_spec.rb
spree_zaez_banner-3.0.2 spec/models/spree/banner_configuration_spec.rb
spree_zaez_banner-3.0.1 spec/models/spree/banner_configuration_spec.rb
spree_zaez_banner-3.0.0 spec/models/spree/banner_configuration_spec.rb