spec/spec_helper.rb in woopy-0.2.0 vs spec/spec_helper.rb in woopy-0.2.1

- old
+ new

@@ -26,26 +26,9 @@ def account_attributes { name: "Account", subdomain: "subdomain1", packages: ["package1", "package2"] } end -def user_account_employment_response - { - employments: [ - { employment: employment_attributes.merge(id: 1) } - ] - }.to_json -end - -def account_employments_response - { - employments: [ - { employment: employment_attributes.merge(id: 1) }, - { employment: employment_attributes.merge(id: 2, user_id: 2,) } - ] - }.to_json -end - def user_response { user: user_attributes.merge(id: 1) }.to_json end def user_attributes