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

Deleting note from ticket #12

Merged
merged 3 commits into from
Mar 24, 2020

Conversation

hardy1334
Copy link
Contributor

With this, we will be able to delete notes on server side.

@hardy1334
Copy link
Contributor Author

@ragesoss can you please review it for the issue WikiEducationFoundation/WikiEduDashboard#3502 . I'll be creating separate pr in the wikiedudashboard for the client side work

@ragesoss
Copy link
Member

ragesoss commented Mar 9, 2020

@hardy1334 please include tests for this as well. There are some examples you can follow in the tickets_controller_spec.

@hardy1334
Copy link
Contributor Author

sure, will do it

@ragesoss
Copy link
Member

I've tested this in conjuction with WikiEducationFoundation/WikiEduDashboard#3870 and it's working smoothly. Nice work!

I'd still like to have a spec included in the this PR. Once that is ready, I can merge this, and then you can update the other PR to include the newer version of TicketDispenser in the Gemfile.lock and then it ought to be clear to merge once code review is done.

@hardy1334
Copy link
Contributor Author

sure I'll add the test for it, and push that commit

@hardy1334
Copy link
Contributor Author

hardy1334 commented Mar 24, 2020

@ragesoss I have added spec for it can you please check it and merge it so that I make necessary changes in other pr

@hardy1334
Copy link
Contributor Author

@ragesoss In the gemfile.lock for the other pr, current version is 0.1.0 , so should I change it to 0.2.0 or 0.1.1 ?

require 'rails_helper'

describe TicketDispenser::Tickets::RepliesController, type: :request do
describe '#destroy' do
Copy link
Member

Choose a reason for hiding this comment

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

This is not standard Ruby indentation. Should be two spaces.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'll make the necessary changes

@ragesoss ragesoss merged commit 4186eb0 into WikiEducationFoundation:master Mar 24, 2020
@ragesoss
Copy link
Member

The version number is fine to leave as it is. The gemfile is locking it to the specific revision straight from git. You should update the bundle to this new revision as part of your PR in the other repo, now that it's merged here.

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