Sha256: 5544013161de70f47636166fc81b06f29e43cfbff7a7e75c7667b2ae84581aae

Contents?: true

Size: 611 Bytes

Versions: 1

Compression:

Stored size: 611 Bytes

Contents

require 'test_helper'

class AttachmentTest < Test::Unit::TestCase
  
  context AttachmentTest do
    
    context "configure" do
      
      should "append to the site url" do
        options = { :protocol => "proto",
                    :username => "user",
                    :password => "pass",
                    :host_and_port => "somehost.com:1234",
                    :project => "my_project"}
        MingleResource.configure(options)
        Attachment.configure
        assert_equal  "/projects/my_project/cards/1/", Attachment.prefix(:card_number => 1)
      end
      
    end
    
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
schubert-minglr-1.1.0 test/attachment_test.rb