Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
gitlab-ce
Commits
2677bc3a
Commit
2677bc3a
authored
Dec 08, 2011
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
network graph header, fixed test
parent
23a1ba73
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
8 deletions
+4
-8
app/views/projects/graph.html.haml
app/views/projects/graph.html.haml
+4
-0
spec/requests/snippets_spec.rb
spec/requests/snippets_spec.rb
+0
-8
No files found.
app/views/projects/graph.html.haml
View file @
2677bc3a
%h2
.icon
%span
>
Network Graph
.clear
#holder
.graph
#holder
.graph
:javascript
:javascript
...
...
spec/requests/snippets_spec.rb
View file @
2677bc3a
...
@@ -23,14 +23,6 @@ describe "Snippets" do
...
@@ -23,14 +23,6 @@ describe "Snippets" do
it
{
should
have_content
(
@snippet
.
project
.
name
)
}
it
{
should
have_content
(
@snippet
.
project
.
name
)
}
it
{
should
have_content
(
@snippet
.
author
.
name
)
}
it
{
should
have_content
(
@snippet
.
author
.
name
)
}
it
"doesn't show expired snippets"
do
@snippet
.
update_attribute
(
:expires_at
,
1
.
day
.
ago
.
to_time
)
visit
project_snippet_path
(
project
,
@snippet
)
page
.
should
have_content
(
"Sorry, this snippet is no longer exists"
)
page
.
should_not
have_content
(
@snippet
.
title
)
page
.
should_not
have_content
(
@snippet
.
content
)
end
describe
"Destroy"
do
describe
"Destroy"
do
before
do
before
do
# admin access to remove snippet
# admin access to remove snippet
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment