summaryrefslogtreecommitdiff
path: root/spec/features/dashboard/snippets_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/features/dashboard/snippets_spec.rb')
-rw-r--r--spec/features/dashboard/snippets_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/features/dashboard/snippets_spec.rb b/spec/features/dashboard/snippets_spec.rb
index c29bcc7c9e9..fb4263d74c4 100644
--- a/spec/features/dashboard/snippets_spec.rb
+++ b/spec/features/dashboard/snippets_spec.rb
@@ -2,7 +2,7 @@ require 'spec_helper'
describe 'Dashboard snippets' do
context 'when the project has snippets' do
- let(:project) { create(:empty_project, :public) }
+ let(:project) { create(:project, :public) }
let!(:snippets) { create_list(:project_snippet, 2, :public, author: project.owner, project: project) }
before do
allow(Snippet).to receive(:default_per_page).and_return(1)