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

SRCH-1756 add additional specs #129

Merged
merged 2 commits into from
Dec 2, 2020

Conversation

MothOnMars
Copy link
Contributor

This PR adds some unit tests to simplify the upgrade process. (This repo is heavy on integration specs, light on unit specs.)

- remove fuubar gem
- install shoulda gem
@@ -310,6 +319,39 @@

it_behaves_like 'a data modifying request made during read-only mode'
end

context 'when time has passed since the document was created' do
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'm deliberately adding this as an integration spec. Currently this functionality come courtesy of a gem that we're about to remove, so I feel more confident testing this at the integration level, so that the spec is not dependent on any low-level implementation.

Copy link
Contributor

@jmax-fearless jmax-fearless left a comment

Choose a reason for hiding this comment

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

Approved without comment (except this one).

@MothOnMars MothOnMars merged commit 94b5baa into GSA:master Dec 2, 2020
@MothOnMars MothOnMars deleted the add_missing_specs_1756 branch December 2, 2020 18:28
@MyNameIsMissing MyNameIsMissing mentioned this pull request Dec 10, 2020
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.

2 participants