spec/spec_helper.rb in woopy-0.2.2 vs spec/spec_helper.rb in woopy-0.3.0
- old
+ new
@@ -34,9 +34,13 @@
def user_attributes
{ name: "User Name", email: "user@example.com" }
end
+def employment_collection_response
+ { employments: [employment_attributes.merge(id: 1)] }.to_json
+end
+
def employment_response
{ employment: employment_attributes.merge(id: 1) }.to_json
end
def employment_attributes