Sha256: 59d7ffc81d9b9f1ac4f528392c083d57e1c4546f365fddcecfde347d59716159
Contents?: true
Size: 878 Bytes
Versions: 1
Compression:
Stored size: 878 Bytes
Contents
require 'test_helper' module Resources class AttachmentTest < Test::Unit::TestCase context Attachment do context "configure" do should "append to the site url" do options = { :username => "user", :password => "pass", :url => "proto://somehost.com:1234/projects/my_project" } Base.configure(options) Attachment.configure assert_equal "/projects/my_project/cards/1/", Attachment.prefix(:card_number => 1) end end context "fetch" do should_eventually "download all found attachments for a given card number" do end end context "attach" do should_eventually "upload file for a given card number" do end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
schubert-minglr-1.2.0 | test/resources/attachment_test.rb |