... | ... |
@@ -99,3 +99,21 @@ note 'Commits page'; |
99 | 99 |
# Date |
100 | 100 |
$t->content_like(qr/\d{4}-\d{2}-\d{2}/); |
101 | 101 |
} |
102 |
+ |
|
103 |
+note 'Tags page'; |
|
104 |
+{ |
|
105 |
+ # Page access |
|
106 |
+ $t->get_ok("/$user/$project/tags"); |
|
107 |
+ |
|
108 |
+ # Tree link |
|
109 |
+ $t->content_like(qr#/$user/$project/tree/t1#); |
|
110 |
+ |
|
111 |
+ # Commit link |
|
112 |
+ $t->content_like(qr#/$user/$project/commit/15ea9d711617abda5eed7b4173a3349d30bca959#); |
|
113 |
+ |
|
114 |
+ # Zip link |
|
115 |
+ $t->content_like(qr#/$user/$project/archive/t1.zip#); |
|
116 |
+ |
|
117 |
+ # Tar.gz link |
|
118 |
+ $t->content_like(qr#/$user/$project/archive/t1.tar.gz#); |
|
119 |
+} |