Sha256: 39f35705fd1c8a54fdc08ea7ce3854cabe4c0b0afc60f46d84b7901312ca9831

Contents?: true

Size: 252 Bytes

Versions: 50

Compression:

Stored size: 252 Bytes

Contents

# frozen_string_literal: true

RSpec.shared_examples_for 'a calculator with a description' do
  describe ".description" do
    subject { described_class.description }
    it "has a description" do
      expect(subject.size).to be > 0
    end
  end
end

Version data entries

50 entries across 50 versions & 2 rubygems

Version Path
solidus_core-4.4.1 lib/spree/testing_support/shared_examples/calculator.rb
solidus_core-4.4.0 lib/spree/testing_support/shared_examples/calculator.rb
solidus_core-2.10.5 spec/shared_examples/calculator_shared_examples.rb
solidus_core-2.10.3 spec/shared_examples/calculator_shared_examples.rb
solidus_core-2.10.2 spec/shared_examples/calculator_shared_examples.rb
solidus_core-2.9.6 spec/shared_examples/calculator_shared_examples.rb
solidus_core-2.8.6 spec/shared_examples/calculator_shared_examples.rb
solidus_core-2.10.1 spec/shared_examples/calculator_shared_examples.rb
solidus_core-2.9.5 spec/shared_examples/calculator_shared_examples.rb
solidus_core-2.10.0 spec/shared_examples/calculator_shared_examples.rb
solidus_core-2.9.4 spec/shared_examples/calculator_shared_examples.rb
solidus_core-2.6.6 spec/shared_examples/calculator_shared_examples.rb
solidus_core-2.7.4 spec/shared_examples/calculator_shared_examples.rb
solidus_core-2.8.5 spec/shared_examples/calculator_shared_examples.rb
solidus_core-2.9.3 spec/shared_examples/calculator_shared_examples.rb
solidus_core-2.9.2 spec/shared_examples/calculator_shared_examples.rb
solidus_core-2.10.0.beta1 spec/shared_examples/calculator_shared_examples.rb
solidus_core-2.7.3 spec/shared_examples/calculator_shared_examples.rb
solidus_core-2.6.5 spec/shared_examples/calculator_shared_examples.rb
solidus_core-2.9.1 spec/shared_examples/calculator_shared_examples.rb