refactor Dossier#with_notifications
This commit is contained in:
parent
d01a53eb72
commit
f96377d878
6 changed files with 15 additions and 15 deletions
|
@ -105,7 +105,7 @@ describe Dossier do
|
|||
create(:follow, dossier: dossier, instructeur: instructeur, messagerie_seen_at: 2.hours.ago)
|
||||
end
|
||||
|
||||
subject { instructeur.followed_dossiers.with_notifications(instructeur) }
|
||||
subject { instructeur.followed_dossiers.with_notifications }
|
||||
|
||||
context('without changes') do
|
||||
it { is_expected.to eq [] }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue