spec/lib/percy/capybara/client/snapshots_spec.rb in percy-capybara-0.1.3 vs spec/lib/percy/capybara/client/snapshots_spec.rb in percy-capybara-0.2.0

- old
+ new

@@ -208,13 +208,13 @@ resource = capybara_client.send(:_get_root_html_resource, page) mock_response = { 'data' => { 'id' => '256', 'type' => 'snapshots', - 'links' => { + 'relationships' => { 'self' => "/api/v1/snapshots/123", 'missing-resources' => { - 'linkage' => [ + 'data' => [ { 'type' => 'resources', 'id' => resource.sha, }, ],