Welcome to mirror list, hosted at ThFree Co, Russian Federation.

snippets_controller_spec.rb « explore « controllers « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: fa659c6df7fc9f101e3b5b4ac966d405fd2e5c2d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# frozen_string_literal: true

require 'spec_helper'

describe Explore::SnippetsController do
  describe 'GET #index' do
    it_behaves_like 'paginated collection' do
      let(:collection) { Snippet.all }

      before do
        create(:personal_snippet, :public)
      end
    end
  end
end