Drop states column
This commit is contained in:
2
spec/fixtures/parks.yml
vendored
2
spec/fixtures/parks.yml
vendored
@@ -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: {}
|
||||
|
||||
@@ -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