Sha256: bf5576b744d3ba086df1965853d65d8bd129dea135b9ad07fd069b77999f58b4

Contents?: true

Size: 456 Bytes

Versions: 1

Compression:

Stored size: 456 Bytes

Contents

class QueryTest < Minitest::Test
  def setup
    method = TestMethodBank.method :one_required_one_optional_argument
    @method = Invokr.query_method method
  end

  def test_dependencies
    assert_equal [:album, :guitarist], @method.dependencies
  end

  def test_optional_dependencies
    assert_equal [:guitarist], @method.optional_dependencies
  end

  def test_required_dependencies
    assert_equal [:album], @method.required_dependencies
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
invokr-0.0.1 test/query_test.rb