spec/spec_helper.rb in woopy-0.2.1 vs spec/spec_helper.rb in woopy-0.2.2
- old
+ new
@@ -42,9 +42,13 @@
def employment_attributes
{ account_id: 1, user_id: 1 }
end
+def roles_attributes
+ {roles: ["role1", "role2"] }
+end
+
def ownership_response
{ ownership: ownership_attributes.merge(id: 1) }.to_json
end
def ownership_attributes