blob: 80b8cc55b55478cd043cf7886b185a69c29f08ef (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
require 'rails_helper'
describe Report do
describe 'statuses' do
it 'returns the statuses for the report' do
status = Fabricate(:status)
_other = Fabricate(:status)
report = Fabricate(:report, status_ids: [status.id])
expect(report.statuses).to eq [status]
end
end
end
|