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

do not raise error on null date with date_format option (closes #116) #117

Merged
merged 2 commits into from
Nov 19, 2018
Merged

Conversation

tpltn
Copy link
Contributor

@tpltn tpltn commented Nov 14, 2018

No description provided.

@philipqnguyen
Copy link
Contributor

associating this to #116

expect(blueprint.render_as_hash(object)).to eq(date: nil)
end
end
end
Copy link
Contributor

Choose a reason for hiding this comment

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

There's already a context for datetime. Would you augment that context to include this test instead of putting this test here?

https://github.com/procore/blueprinter/blame/master/spec/integrations/shared/base_render_examples.rb#L53-L64

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done)

@mcclayton mcclayton merged commit b55c96f into procore-oss:master Nov 19, 2018
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.

4 participants