Sha256: a145045541fa8b3d56dcc0e779b912a9a7887ca0aafd8c0ab7aa7d4f33815f7a

Contents?: true

Size: 314 Bytes

Versions: 11

Compression:

Stored size: 314 Bytes

Contents

require 'test_helper'

module Optimist
  class VersionNeededTest < ::MiniTest::Test
    def test_class
      assert_kind_of Exception, vn("message")
    end

    def test_message
      assert "message", vn("message").message
    end

    private

    def vn(*args)
      VersionNeeded.new(*args)
    end
  end
end

Version data entries

11 entries across 11 versions & 3 rubygems

Version Path
optimist-3.1.0 test/optimist/version_needed_test.rb
ric-0.14.2 vendor/bundle/ruby/2.7.0/gems/optimist-3.0.1/test/optimist/version_needed_test.rb
ric-0.14.1 vendor/bundle/ruby/2.7.0/gems/optimist-3.0.1/test/optimist/version_needed_test.rb
ric-0.14.0 vendor/bundle/ruby/2.7.0/gems/optimist-3.0.1/test/optimist/version_needed_test.rb
optimist-3.0.1 test/optimist/version_needed_test.rb
pokedex-terminal-0.2.8 vendor/bundle/ruby/2.7.0/gems/optimist-3.0.0/test/optimist/version_needed_test.rb
pokedex-terminal-0.2.7 vendor/bundle/ruby/2.7.0/gems/optimist-3.0.0/test/optimist/version_needed_test.rb
pokedex-terminal-0.2.6 vendor/bundle/ruby/2.7.0/gems/optimist-3.0.0/test/optimist/version_needed_test.rb
pokedex-terminal-0.2.5 vendor/bundle/ruby/2.7.0/gems/optimist-3.0.0/test/optimist/version_needed_test.rb
pokedex-terminal-0.2.4 vendor/bundle/ruby/2.7.0/gems/optimist-3.0.0/test/optimist/version_needed_test.rb
optimist-3.0.0 test/optimist/version_needed_test.rb