Commit baf591cc2793533e524810c14afc76b5fe5126f7

Authored by Dmitriy Zaporozhets
1 parent 03100864

Fix network test and snippets expired

app/controllers/snippets_controller.rb
... ... @@ -16,7 +16,7 @@ class SnippetsController < ProjectResourceController
16 16 respond_to :html
17 17  
18 18 def index
19   - @snippets = @project.snippets.fresh
  19 + @snippets = @project.snippets.fresh.non_expired
20 20 end
21 21  
22 22 def new
... ...
features/steps/project/project_network_graph.rb
... ... @@ -6,7 +6,6 @@ class ProjectNetworkGraph < Spinach::FeatureSteps
6 6 page.should have_content "Project Network Graph"
7 7 within ".graph" do
8 8 page.should have_content "master"
9   - page.should have_content "scss_refactor..."
10 9 end
11 10 end
12 11  
... ...