Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Role configuration #6

Merged
merged 3 commits into from Mar 22, 2012
Merged

Role configuration #6

merged 3 commits into from Mar 22, 2012

Conversation

kalupa
Copy link
Contributor

@kalupa kalupa commented Mar 20, 2012

No description provided.

awd and others added 2 commits March 20, 2012 15:46

mock.get( '/services/v1/accounts/1/users/1/employment.json', accept_request_headers(@token), employment_response )
mock.post( '/services/v1/accounts/1/employments.json', request_headers(@token), employment_response )
mock.delete( '/services/v1/accounts/1/employments/1.json', accept_request_headers(@token), employment_response )

mock.put( "/services/v1/accounts/1/users/1.json?#{ roles_attributes.to_query }", request_headers(@token), :ok )
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

query string params for the sake of the test, yah?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yea ... I spent an hour trying to figure out a better way ...

@awd
Copy link
Contributor

awd commented Mar 21, 2012

This looks good to me!

kalupa pushed a commit that referenced this pull request Mar 22, 2012
@kalupa kalupa merged commit 0a9eddf into woople:master Mar 22, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants