Sha256: 9f3d7b6368eef6731379bf960fb1662130f001cfbc1f33e6655163ec95755ce9

Contents?: true

Size: 445 Bytes

Versions: 48

Compression:

Stored size: 445 Bytes

Contents

# frozen_string_literal: true

RSpec.describe Spree do
  describe '.solidus_version' do
    it "returns a string" do
      expect(Spree.solidus_version).to be_a(String)
    end
  end

  describe '.solidus_gem_version' do
    it "returns a Gem::Version" do
      expect(Spree.solidus_gem_version).to be_a(Gem::Version)
    end

    it "can be compared" do
      expect(Spree.solidus_gem_version).to be > Gem::Version.new("1.0")
    end
  end
end

Version data entries

48 entries across 48 versions & 2 rubygems

Version Path
solidus_core-2.10.5 spec/lib/spree/core/version_spec.rb
solidus_core-2.10.3 spec/lib/spree/core/version_spec.rb
solidus_core-2.10.2 spec/lib/spree/core/version_spec.rb
solidus_core-2.9.6 spec/lib/spree/core/version_spec.rb
solidus_core-2.8.6 spec/lib/spree/core/version_spec.rb
solidus_core-2.10.1 spec/lib/spree/core/version_spec.rb
solidus_core-2.9.5 spec/lib/spree/core/version_spec.rb
solidus_core-2.10.0 spec/lib/spree/core/version_spec.rb
solidus_core-2.9.4 spec/lib/spree/core/version_spec.rb
solidus_core-2.6.6 spec/lib/spree/core/version_spec.rb
solidus_core-2.7.4 spec/lib/spree/core/version_spec.rb
solidus_core-2.8.5 spec/lib/spree/core/version_spec.rb
solidus_core-2.9.3 spec/lib/spree/core/version_spec.rb
solidus_core-2.9.2 spec/lib/spree/core/version_spec.rb
solidus_core-2.10.0.beta1 spec/lib/spree/core/version_spec.rb
solidus_core-2.7.3 spec/lib/spree/core/version_spec.rb
solidus_core-2.6.5 spec/lib/spree/core/version_spec.rb
solidus_core-2.9.1 spec/lib/spree/core/version_spec.rb
solidus_core-2.9.0 spec/lib/spree/core/version_spec.rb
solidus_core-2.9.0.rc.1 spec/lib/spree/core/version_spec.rb