Sha256: 1819db14840c06e968db0719a7c9a440f745e4900933f7bcafe40ed28cd1a933

Contents?: true

Size: 549 Bytes

Versions: 1

Compression:

Stored size: 549 Bytes

Contents

require 'test_helper'

module Resources
  
  class ProjectTest < Test::Unit::TestCase
  
    context Project do
    
      context "configure" do
        
        should "subtract the project name from the url" do
          options = { :username => "user",
                      :password => "pass",
                      :url => "proto://somehost.com:1234/projects/my_project" }
          Base.configure(options)
          Project.configure
          assert_equal  "/projects", Project.prefix
        end
      
      end
    
    end

  end
  
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
schubert-minglr-1.2.0 test/resources/project_test.rb