Update usages of tree_file_project_ref_path to project_tree_path

This commit is contained in:
Robert Speicher 2012-09-17 12:39:57 -04:00
parent e33cbb9b42
commit 79a02df92e
20 changed files with 41 additions and 36 deletions

View file

@ -61,7 +61,7 @@ describe "Gitlab Flavored Markdown" do
end
it "should render title in refs#tree", js: true do
visit tree_project_ref_path(project, id: @branch_name)
visit project_tree_path(project, @branch_name)
within(".tree_commit") do
page.should have_link("##{issue.id}")

View file

@ -37,7 +37,7 @@ describe "Application access" do
end
describe "GET /project_code/master/tree" do
subject { tree_project_ref_path(@project, @project.root_ref) }
subject { project_tree_path(@project, @project.root_ref) }
it { should be_allowed_for @u1 }
it { should be_allowed_for @u3 }