spec/integration/preferences_spec.rb in patch_ruby-1.9.0 vs spec/integration/preferences_spec.rb in patch_ruby-1.10.0

- old
+ new

@@ -5,10 +5,10 @@ project_id = retrieve_projects_response.data.first.id begin create_preference_response = Patch::Preference.create_preference(project_id: project_id) preference_id = create_preference_response.data.id - rescue => Patch::ApiError + rescue Patch::ApiError => e preference_id = Patch::Preference.retrieve_preferences().data.first.id end retrieve_preference_response = Patch::Preference.retrieve_preference(preference_id) expect(retrieve_preference_response.data.id).to eq preference_id