Skip to content

Adding VCR spec to Staff List. IGNT-3573#4

Merged
abreckner merged 7 commits intomasterfrom
vcr-tests
Apr 27, 2020
Merged

Adding VCR spec to Staff List. IGNT-3573#4
abreckner merged 7 commits intomasterfrom
vcr-tests

Conversation

@abreckner
Copy link
Contributor

This PR adds the VCR gem and updates the Staff.list spec to use it.

There are a few extra cautionary steps we need to make in order to avoid checking in sensitive data (which I updated in the read me).

rspec (~> 3.0)
rubocop (= 0.77.0)
rubocop-rspec
vcr
Copy link
Contributor

Choose a reason for hiding this comment

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

Wondering if we should specify a major version?

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 generally prefer to let bundler handle gem versioning for me and only specify a version if something breaks (and I need to hold it down). Also in a gem you have to be very careful when specifying versions because it might clash with the version used by the main app.

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 just noticed I had actually specified versions before, but that was copied and pasted from the client success gem. I might actually remove them in another PR. :)

Copy link
Contributor

Choose a reason for hiding this comment

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

Yeah that's a great point @abreckner!

I think I may have added versions but that makes sense let's remove I'll keep them out of the gemfile too.

end
end
end
end
Copy link
Contributor

@bedrock-adam bedrock-adam Apr 27, 2020

Choose a reason for hiding this comment

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

Ah did I have the spec files in the wrong directory?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Maybe. ;)

Copy link
Contributor

@bedrock-adam bedrock-adam left a comment

Choose a reason for hiding this comment

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

Awesome work Tony 👍 🚀

@abreckner abreckner merged commit 45e7f9f into master Apr 27, 2020
@abreckner abreckner deleted the vcr-tests branch May 1, 2020 05:14
lankz pushed a commit that referenced this pull request Jun 10, 2025
Adding VCR spec to Staff List. IGNT-3573
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.

2 participants