summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2011-12-08 01:45:36 +0200
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2011-12-08 01:45:36 +0200
commit2677bc3acb64a2e3a75a743bd9b5426c39decdef (patch)
treebd1f7a2acbd68a452be61395ef8b7a2fee6eeb41 /spec
parent23a1ba7362a13dfcde05d158f2d2237351090730 (diff)
downloadgitlab-ce-2677bc3acb64a2e3a75a743bd9b5426c39decdef.tar.gz
network graph header, fixed test
Diffstat (limited to 'spec')
-rw-r--r--spec/requests/snippets_spec.rb8
1 files changed, 0 insertions, 8 deletions
diff --git a/spec/requests/snippets_spec.rb b/spec/requests/snippets_spec.rb
index ee4f90e6028..d4811958db3 100644
--- a/spec/requests/snippets_spec.rb
+++ b/spec/requests/snippets_spec.rb
@@ -23,14 +23,6 @@ describe "Snippets" do
it { should have_content(@snippet.project.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
before do
# admin access to remove snippet