-
Notifications
You must be signed in to change notification settings - Fork 77
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
APIs for invoice list page #208
Conversation
Current Code Coverage Percent of this PR:78.98 %Files having coverage below 100%
|
@shivamsinghchahar can you review this PR |
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.
Few suggestions, rest looks good.
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.
@apoorv-mishra Please look at the comments below
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.
@apoorv-mishra Please look at the comments below
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.
LGTM 🚀
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.
LGTM!
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.
LGTM
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.
LGTM
@@ -41,7 +41,7 @@ | |||
|
|||
describe "Associations" do | |||
describe "belongs to" do | |||
it { is_expected.to belong_to(:company) } | |||
it { is_expected.not_to belong_to(:company) } |
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 can just remove this spec? There is no point of checking for absent belongs_to associations.
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.
On second thought, why isn't there a company association to an invoice or am I missing something?
end | ||
end | ||
|
||
describe ".delegate" 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.
describe ".delegate" do | |
describe "Delegates" do |
Notion card
https://saeloun.notion.site/API-s-for-Invoice-98d674e7750046b8971590753b8a938a
Summary
Includes API for fetching invoices
Preview
NA
Type of change
How Has This Been Tested?
Checklist: