diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2011-12-31 13:12:10 +0200 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2011-12-31 13:12:10 +0200 |
commit | a667c713128b3dd8dece604e4aae3519ab7e57ed (patch) | |
tree | f811e9a7ca21a0f2741de9fc0d9b797964e35e6b /spec | |
parent | d8247012b5dd7578a5d9f9922352c7f373d89af4 (diff) | |
download | gitlab-ce-a667c713128b3dd8dece604e4aae3519ab7e57ed.tar.gz |
repo branches and tags
Diffstat (limited to 'spec')
-rw-r--r-- | spec/requests/repositories_spec.rb | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/spec/requests/repositories_spec.rb b/spec/requests/repositories_spec.rb index 92933b4062d..8c3ebf1847e 100644 --- a/spec/requests/repositories_spec.rb +++ b/spec/requests/repositories_spec.rb @@ -31,5 +31,28 @@ describe "Repository" do page.all(:css, ".project-update").size.should == 20 end end + + describe "GET /:project_name/repository/branches" do + before do + visit branches_project_repository_path(@project) + end + + it "should have link to repo activities" do + page.should have_content("Branches") + page.should have_content("master") + end + end + + # TODO: Add new repo to seeds with tags list + describe "GET /:project_name/repository/tags" do + before do + visit tags_project_repository_path(@project) + end + + it "should have link to repo activities" do + page.should have_content("Tags") + page.should have_content("No tags") + end + end end |