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

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

require 'spec_helper'

RSpec.describe BoardSimpleEntity do
  let_it_be(:project) { create(:project) }
  let_it_be(:board) { create(:board, project: project) }

  subject { described_class.new(board).as_json }

  describe '#name' do
    it 'has `name` attribute' do
      is_expected.to include(:name)
    end
  end
end