Sha256: f27cac38ed549d6f11b59119ee8f903cd69785027b183b9b5ae5c703cec8d14e

Contents?: true

Size: 463 Bytes

Versions: 25

Compression:

Stored size: 463 Bytes

Contents

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

class BranchTest < Test::Unit::TestCase
  include Octopi
  
  def setup
    fake_everything
  end

  context Branch do
    should "Find all branches for a repository" do
      assert_not_nil Branch.all(:user => "fcoury", :name => "octopi")
    end
    
    should "Be able to find a specific branch" do
      assert_not_nil Branch.all(:user => "fcoury", :name => "octopi").find("lazy")
    end
  end
end

Version data entries

25 entries across 25 versions & 4 rubygems

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