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

Suport reschedule payment #70

Merged
merged 4 commits into from
Oct 22, 2018
Merged

Conversation

jcomello
Copy link
Contributor

@jcomello jcomello commented Oct 2, 2018

No description provided.

@jcomello jcomello added the wip label Oct 2, 2018
it "returns false" do
VCR.use_cassette("payments/reschedule/fail") do
expect do
charge = subject.reschedule(49, { date: Date.new(2018, 10, 2) })

Choose a reason for hiding this comment

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

Lint/UselessAssignment: Useless assignment to variable - charge.
Style/BracesAroundHashParameters: Redundant curly braces around a hash parameter.

describe "#reschedule" do
it "returns ok" do
VCR.use_cassette("payments/reschedule/success") do
charge = subject.reschedule(100, { date: Date.new(2018, 10, 2) })

Choose a reason for hiding this comment

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

Style/BracesAroundHashParameters: Redundant curly braces around a hash parameter.

@RafaelMCarvalho RafaelMCarvalho merged commit 5e81dae into master Oct 22, 2018
@RafaelMCarvalho RafaelMCarvalho deleted the feature/reschedule-payment branch October 22, 2018 21: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

4 participants