Drop states column

This commit is contained in:
2025-10-08 08:14:14 -07:00
parent 513f1334fb
commit 7bf4073bd2
5 changed files with 10 additions and 8 deletions

View File

@@ -3,11 +3,9 @@
one:
code: crla
name: Crater Lake National Park
states: OR
properties: {}
two:
code: olym
name: Olympic National Park
states: WA
properties: {}

View File

@@ -7,12 +7,12 @@ RSpec.describe "Api::V1::Parks", type: :request do
expect(response).to have_http_status(:success)
expect(response.parsed_body["parks"]).to include(
hash_including(
code: "crla", name: "Crater Lake National Park", states: "OR"
code: "crla", name: "Crater Lake National Park"
)
)
expect(response.parsed_body["parks"]).to include(
hash_including(
code: "olym", name: "Olympic National Park", states: "WA"
code: "olym", name: "Olympic National Park"
)
)
end
@@ -49,7 +49,7 @@ RSpec.describe "Api::V1::Parks", type: :request do
expect(response).to have_http_status(:success)
expect(response.parsed_body).to match(
hash_including(
code: "crla", name: "Crater Lake National Park", states: "OR"
code: "crla", name: "Crater Lake National Park"
)
)
end