Sha256: 96b2231abe5140b0f52b97c5adca0f7c9a82d2b19ebd25732c9b3be30c4360c5

Contents?: true

Size: 308 Bytes

Versions: 11

Compression:

Stored size: 308 Bytes

Contents

require 'test_helper'

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

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

    private

    def hn(*args)
      HelpNeeded.new(*args)
    end
  end
end

Version data entries

11 entries across 11 versions & 3 rubygems

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