Commit 86f245d1474a19376501ba7eb06df1030ea15644

Authored by Nathan Broadbent
1 parent 775b11e9
Exists in master and in 1 other branch production

Fixed apps/index.html.haml_spec - Need to assign pre-calculated counts

Showing 1 changed file with 2 additions and 0 deletions   Show diff stats
spec/views/apps/index.html.haml_spec.rb
... ... @@ -4,6 +4,8 @@ describe "apps/index.html.haml" do
4 4 before do
5 5 app = Fabricate(:app, :deploys => [Fabricate(:deploy, :revision => "123456789abcdef")])
6 6 assign :apps, [app]
  7 + assign :problem_counts, {app.id => 0}
  8 + assign :unresolved_counts, {app.id => 0}
7 9 controller.stub(:current_user) { Fabricate(:user) }
8 10 end
9 11  
... ...