fix tests after refactor
This commit is contained in:
parent
af08ed6b66
commit
a7734bba84
3 changed files with 20 additions and 22 deletions
|
@ -14,7 +14,7 @@ describe "Projects" do
|
|||
|
||||
it "should be fast" do
|
||||
time = Benchmark.realtime do
|
||||
visit tree_project_path(@project)
|
||||
visit tree_project_ref_path(@project, @project.root_ref)
|
||||
end
|
||||
(time < 1.0).should be_true
|
||||
end
|
||||
|
@ -28,7 +28,7 @@ describe "Projects" do
|
|||
|
||||
it "should be fast" do
|
||||
time = Benchmark.realtime do
|
||||
visit tree_project_path(@project, :commit_id => ValidCommit::ID)
|
||||
visit tree_project_ref_path(@project, ValidCommit::ID)
|
||||
end
|
||||
(time < 1.0).should be_true
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue