summaryrefslogtreecommitdiff
path: root/spec/models/sidebars/projects/context_spec.rb
blob: 44578ae15832b2661ca3e8c0b1cac66778b6d5ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# frozen_string_literal: true

require 'spec_helper'

RSpec.describe Sidebars::Projects::Context do
  let(:project) { build(:project) }

  subject { described_class.new(current_user: nil, container: project) }

  it 'sets project attribute reader' do
    expect(subject.project).to eq(project)
  end
end