[deploy] Fix broken listing spec (#7504)

This commit is contained in:
Mac Siri 2020-04-24 13:12:50 -04:00 committed by GitHub
parent 2bad54ec47
commit aa96a076d8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -19,7 +19,7 @@ RSpec.describe "/internal/listings", type: :request do
end
describe "GET /internal/listings" do
let(:unpublished_listing) { create(:classified_listing, published: false) }
let!(:unpublished_listing) { create(:classified_listing, published: false) }
it "filters unpublished listings by default" do
get internal_listings_path