Commit baf591cc2793533e524810c14afc76b5fe5126f7
1 parent
03100864
Exists in
master
and in
4 other branches
Fix network test and snippets expired
Showing
2 changed files
with
1 additions
and
2 deletions
Show diff stats
app/controllers/snippets_controller.rb
| @@ -16,7 +16,7 @@ class SnippetsController < ProjectResourceController | @@ -16,7 +16,7 @@ class SnippetsController < ProjectResourceController | ||
| 16 | respond_to :html | 16 | respond_to :html |
| 17 | 17 | ||
| 18 | def index | 18 | def index |
| 19 | - @snippets = @project.snippets.fresh | 19 | + @snippets = @project.snippets.fresh.non_expired |
| 20 | end | 20 | end |
| 21 | 21 | ||
| 22 | def new | 22 | def new |
features/steps/project/project_network_graph.rb
| @@ -6,7 +6,6 @@ class ProjectNetworkGraph < Spinach::FeatureSteps | @@ -6,7 +6,6 @@ class ProjectNetworkGraph < Spinach::FeatureSteps | ||
| 6 | page.should have_content "Project Network Graph" | 6 | page.should have_content "Project Network Graph" |
| 7 | within ".graph" do | 7 | within ".graph" do |
| 8 | page.should have_content "master" | 8 | page.should have_content "master" |
| 9 | - page.should have_content "scss_refactor..." | ||
| 10 | end | 9 | end |
| 11 | end | 10 | end |
| 12 | 11 |