Sha256: 768591ed92f7cb418b62b55a4110997b84f8eced652b93e1a296b21dfba9f145

Contents?: true

Size: 454 Bytes

Versions: 25

Compression:

Stored size: 454 Bytes

Contents

require File.join(File.dirname(__FILE__), 'test_helper')

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

  
  context RepositorySet do
  
    should "return a repository set" do
      assert @user.repositories.is_a?(RepositorySet)
    end
    
    should "be able to find a repository" do
      assert_not_nil @user.repositories.find("octopi")
    end

  end
end

Version data entries

25 entries across 25 versions & 4 rubygems

Version Path
octopi-0.4.5 test/repository_set_test.rb
octopi-0.4.4 test/repository_set_test.rb
octopi-0.4.2 test/repository_set_test.rb
octopi-0.4.1 test/repository_set_test.rb
octopi-0.4.0 test/repository_set_test.rb
octopi-0.3.0 test/repository_set_test.rb
dcuddeback-octopi-0.2.12 test/repository_set_test.rb
dcuddeback-octopi-0.2.11 test/repository_set_test.rb
dcuddeback-octopi-0.2.9 test/repository_set_test.rb
dcuddeback-octopi-0.2.8 test/repository_set_test.rb
devver-octopi-0.2.14 test/repository_set_test.rb
tpitale-octopi-0.3.0 test/repository_set_test.rb
devver-octopi-0.2.13 test/repository_set_test.rb
devver-octopi-0.2.12 test/repository_set_test.rb
octopi-0.2.8 test/repository_set_test.rb
devver-octopi-0.2.11 test/repository_set_test.rb
devver-octopi-0.2.10 test/repository_set_test.rb
devver-octopi-0.2.9 test/repository_set_test.rb
devver-octopi-0.2.8 test/repository_set_test.rb
octopi-0.2.7 test/repository_set_test.rb