Skip to content

Commit

Permalink
Fix failing rspec (#1013)
Browse files Browse the repository at this point in the history
  • Loading branch information
farhatahmad authored Aug 10, 2023
1 parent 2d11734 commit feba408
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions spec/models/meeting_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -167,14 +167,8 @@
context 'without tenant_id param' do
let(:meetings) { described_class.all }

it 'fetches correct nb of Meetings' do
expect(meetings.size).to eq 2
end

it 'fetches Meetings with correct tenant_id' do
meetings.each do |meeting|
expect(meeting.tenant_id).to be_nil
end
it 'fetches all Meetings' do
expect(meetings.size).to eq 7
end
end
end
Expand Down

0 comments on commit feba408

Please sign in to comment.