Fix some tests. Use travis-ci 1.9.2
This commit is contained in:
parent
e16cebac3e
commit
9a88e4d184
7 changed files with 10 additions and 36 deletions
|
@ -30,7 +30,7 @@ describe Repository do
|
|||
end
|
||||
|
||||
it "returns non-master when master exists but default branch is set to something else" do
|
||||
repository.default_branch = 'stable'
|
||||
repository.root_ref = 'stable'
|
||||
repository.should_receive(:branch_names).at_least(:once).and_return([stable, master])
|
||||
repository.discover_default_branch.should == 'stable'
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue