Sha256: 685c9284d2906bd9f19132ecc2ad56c24c876d99418b8d4da16a323207cc8dbe

Contents?: true

Size: 393 Bytes

Versions: 1

Compression:

Stored size: 393 Bytes

Contents

require File.dirname(__FILE__) + '/base.rb'


class MergeTest < Test::Unit::TestCase

  include Rufus::Verbs


  def test_0
    
    ep = EndPoint.new(
      :dry_run => true,
      :uri => 'http://host/path',
      :params => { 'token' => 'apiaccess'})

    req = ep.get(
      :params => { 'extra' => 'param'})

    assert_equal "/path?token=apiaccess&extra=param", req.path
    
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rufus-verbs-1.0.1 test/merge_test.rb