Sha256: 6d0860646ec9d0ee8f047772356747c22f33b23210a4fdd34bd633d072d36529

Contents?: true

Size: 474 Bytes

Versions: 13

Compression:

Stored size: 474 Bytes

Contents

require_relative 'helper'

class TestVersion < Sidetiq::TestCase
  def test_major
    assert_instance_of Fixnum, Sidetiq::VERSION::MAJOR
  end

  def test_minor
    assert_instance_of Fixnum, Sidetiq::VERSION::MINOR
  end

  def test_patch
    assert_instance_of Fixnum, Sidetiq::VERSION::PATCH
  end

  def test_string
    assert_equal Sidetiq::VERSION::STRING, [Sidetiq::VERSION::MAJOR,
      Sidetiq::VERSION::MINOR, Sidetiq::VERSION::PATCH].compact.join('.')
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
sidetiq-0.3.7 test/test_version.rb
sidetiq-0.3.6 test/test_version.rb
sidetiq-0.3.5 test/test_version.rb
sidetiq-0.3.4 test/test_version.rb
sidetiq-0.3.3 test/test_version.rb
sidetiq-0.3.2 test/test_version.rb
sidetiq-0.3.1 test/test_version.rb
sidetiq-0.3.0 test/test_version.rb
sidetiq-0.2.0 test/test_version.rb
sidetiq-0.1.5 test/test_version.rb
sidetiq-0.1.4 test/test_version.rb
sidetiq-0.1.3 test/test_version.rb
sidetiq-0.1.2 test/test_version.rb