-
Notifications
You must be signed in to change notification settings - Fork 86
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
Conversation
There was a problem hiding this 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 |
There was a problem hiding this comment.
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") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
true
here, too.
43a535c
to
9b8f4ef
Compare
@joshsmith Made the change, rebased, should be good to go. |
4c1f108
to
fcc3f5d
Compare
What's in this PR?
Added required infrastructure to create, delete and view TaskSkill records
References
Fixes #670
Progress on: #667