Drop states column
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user