diff --git a/spec/views/apps/index.html.haml_spec.rb b/spec/views/apps/index.html.haml_spec.rb
index bd27da4..60359da 100644
--- a/spec/views/apps/index.html.haml_spec.rb
+++ b/spec/views/apps/index.html.haml_spec.rb
@@ -2,11 +2,11 @@ require 'spec_helper'
describe "apps/index.html.haml" do
before do
- app = Fabricate(:app, :deploys => [Fabricate(:deploy, :revision => "123456789abcdef")])
+ app = stub_model(App, :deploys => [stub_model(Deploy, :created_at => Time.now, :revision => "123456789abcdef")])
assign :apps, [app]
assign :problem_counts, {app.id => 0}
assign :unresolved_counts, {app.id => 0}
- controller.stub(:current_user) { Fabricate(:user) }
+ controller.stub(:current_user) { stub_model(User) }
end
describe "deploy column" do
--
libgit2 0.21.2