Sha256: 552070767fadd47143bed6f95482e5c64ef2cb2d2bcfcfbee7304cd386907c0e

Contents?: true

Size: 277 Bytes

Versions: 12

Compression:

Stored size: 277 Bytes

Contents

describe Biodiversity do
  describe '.version' do
    it 'returns version' do
      expect(subject.version).to match /^\d+\.\d+\.\d+/
    end

    it 'is the same as Biodiversity::Version constant' do
      expect(subject.version).to eq Biodiversity::VERSION
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
biodiversity-3.5.1 spec/biodiversity_spec.rb
biodiversity-3.5.0 spec/biodiversity_spec.rb
biodiversity-3.4.6 spec/biodiversity_spec.rb
biodiversity-3.4.5 spec/biodiversity_spec.rb
biodiversity-3.4.4 spec/biodiversity_spec.rb
biodiversity-3.4.3 spec/biodiversity_spec.rb
biodiversity-3.4.2 spec/biodiversity_spec.rb
biodiversity-3.4.1 spec/biodiversity_spec.rb
biodiversity-3.4.0 spec/biodiversity_spec.rb
biodiversity-3.3.0 spec/biodiversity_spec.rb
biodiversity-3.2.1 spec/biodiversity_spec.rb
biodiversity-3.2.0 spec/biodiversity_spec.rb