Sha256: b3494910cd39054ce4e15a0dbd427b33b0cba4b6d90ef1eef72d2ca17d36482b

Contents?: true

Size: 276 Bytes

Versions: 4

Compression:

Stored size: 276 Bytes

Contents

class InvokrTest < Minitest::Test
  def test_incorrectly_invoking
    error = assert_raises Invokr::InputError do
      Invokr.invoke
    end

    assert_equal(
      "cannot invoke; missing required arguments: `method', `on' and `with'",
      error.message,
    )
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
invokr-0.0.5 test/invokr_test.rb
invokr-0.0.4 test/invokr_test.rb
invokr-0.0.2 test/invokr_test.rb
invokr-0.0.1 test/invokr_test.rb