Sha256: 8200a578f606c82de9b0c1f62152972347459389fa35f96a7ccfad63b909c29a

Contents?: true

Size: 370 Bytes

Versions: 10

Compression:

Stored size: 370 Bytes

Contents

require 'spec_helper'

describe Doorkeeper::VERSION do
  context '#gem_version' do
    it 'returns Gem::Version instance' do
      expect(Doorkeeper.gem_version).to be_an_instance_of(Gem::Version)
    end
  end

  context 'VERSION' do
    it 'returns gem version string' do
      expect(Doorkeeper::VERSION::STRING).to match(/^\d+\.\d+\.\d+(\.\w+)?$/)
    end
  end
end

Version data entries

10 entries across 10 versions & 3 rubygems

Version Path
doorkeeper-5.0.3 spec/version/version_spec.rb
doorkeeper-5.1.0.rc2 spec/version/version_spec.rb
doorkeeper-5.1.0.rc1 spec/version/version_spec.rb
doorkeeper-5.0.2 spec/version/version_spec.rb
doorkeeper-mongodb-5.0.0 spec/version/version_spec.rb
doorkeeper-5.0.1 spec/version/version_spec.rb
doorkeeper-sequel-2.0.0 spec/version/version_spec.rb
doorkeeper-5.0.0 spec/version/version_spec.rb
doorkeeper-5.0.0.rc2 spec/version/version_spec.rb
doorkeeper-5.0.0.rc1 spec/version/version_spec.rb