Browse Source

Update test name

pull/1785/head
Kat 3 years ago
parent
commit
93be994f27
  1. 2
      spec/models/location_spec.rb

2
spec/models/location_spec.rb

@ -995,7 +995,7 @@ RSpec.describe Location, type: :model do
end
context "when filtering by multiple statuses" do
it "returns only activating_soon locations" do
it "returns relevant locations" do
expect(described_class.filter_by_status(%w[deactivating_soon activating_soon]).count).to eq(2)
expect(described_class.filter_by_status(%w[deactivating_soon activating_soon])).to include(activating_soon_location)
expect(described_class.filter_by_status(%w[deactivating_soon activating_soon])).to include(deactivating_soon_location)

Loading…
Cancel
Save