Sha256: 279b02d4e4732544620af676fdfeee72fbd7cde55daebeae59b706c1bec32425

Contents?: true

Size: 300 Bytes

Versions: 9

Compression:

Stored size: 300 Bytes

Contents

require 'spec_helper'

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

9 entries across 9 versions & 2 rubygems

Version Path
biodiversity-3.1.10 spec/biodiversity_spec.rb
biodiversity-3.1.9 spec/biodiversity_spec.rb
biodiversity-3.1.8 spec/biodiversity_spec.rb
biodiversity19-3.1.7 spec/biodiversity_spec.rb
biodiversity-3.1.7 spec/biodiversity_spec.rb
biodiversity19-3.1.6 spec/biodiversity_spec.rb
biodiversity-3.1.6 spec/biodiversity_spec.rb
biodiversity19-3.1.5 spec/biodiversity_spec.rb
biodiversity-3.1.5 spec/biodiversity_spec.rb