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

TaskSkill model, policies and endpoints #671

Merged
merged 5 commits into from
Feb 1, 2017

Conversation

begedin
Copy link
Contributor

@begedin begedin commented Feb 1, 2017

What's in this PR?

Added required infrastructure to create, delete and view TaskSkill records

References

Fixes #670
Progress on: #667

@begedin begedin changed the title 670 task skill model policies endpoints TaskSkill model, policies and endpoints Feb 1, 2017
@joshsmith joshsmith self-requested a review February 1, 2017 04:03
Copy link
Contributor

@joshsmith joshsmith left a comment

Choose a reason for hiding this comment

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

Minor change requested here.

refute create?(user, changeset)
end

test "returns false when user is contributor of organization" do
Copy link
Contributor

Choose a reason for hiding this comment

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

I think we want this to be true for contributors.

end

test "returns false when user is contributor of organization" do
{user, task} = generate_data_for("contributor")
Copy link
Contributor

Choose a reason for hiding this comment

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

true here, too.

@begedin begedin force-pushed the 670-task-skill-model-policies-endpoints branch 2 times, most recently from 43a535c to 9b8f4ef Compare February 1, 2017 07:49
@begedin
Copy link
Contributor Author

begedin commented Feb 1, 2017

@joshsmith Made the change, rebased, should be good to go.

@begedin begedin force-pushed the 670-task-skill-model-policies-endpoints branch from 4c1f108 to fcc3f5d Compare February 1, 2017 16:06
@begedin begedin merged commit 726363a into develop Feb 1, 2017
@begedin begedin deleted the 670-task-skill-model-policies-endpoints branch February 1, 2017 16:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants