remove useless before block

pull/10417/head
Christophe Bliard 3 years ago
parent fbea927c96
commit 67247086f0
No known key found for this signature in database
GPG Key ID: 2BC07603210C3FA4
  1. 6
      spec/models/query_spec.rb

@ -651,12 +651,6 @@ describe Query, type: :model do
describe '#filter_for' do describe '#filter_for' do
context 'for a status_id filter' do context 'for a status_id filter' do
before do
allow(Status)
.to receive(:exists?)
.and_return(true)
end
subject { query.filter_for('status_id') } subject { query.filter_for('status_id') }
it 'exists' do it 'exists' do

Loading…
Cancel
Save