Sha256: 1777f14b62859ebe438256a7a84a5aa9b354d8569caec0d71ffe6abe861c7ae4

Contents?: true

Size: 423 Bytes

Versions: 2

Compression:

Stored size: 423 Bytes

Contents

# IF TEST FAILS PLEASE SEE TEST_HELPER FOR REASON
require File.join(File.dirname(__FILE__), 'test_helper')

class RepositoryTest < Test::Unit::TestCase
  include Octopi
  
  def setup
    @user = User.find("radar")
  end

  
  context Repository do
    should "return a private repository when authed" do
      authenticated do
        assert_not_nil @user.repository(:name => "select-copiers")
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
octopi-0.4.5 real_world_test/repository_test.rb
octopi-0.4.4 real_world_test/repository_test.rb