Skip to content

Add unit test for CodeCorps.Helpers.CloudinaryUrl and RandomIconColor #694

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

Merged
merged 2 commits into from
Feb 16, 2017

Conversation

YuriiZdyrko
Copy link
Contributor

Added tests for:
lib/code_corps/helpers/cloudinary_url.ex
lib/code_corps/helpers/random_icon_color.ex

Moved Cloudex to configuration to allow testing.

References

Closes #675

@begedin
Copy link
Contributor

begedin commented Feb 13, 2017

I like the unit testing, but there's still a piece missing which would allow the test and dev environments to run without the API keys. I'm working on getting that done in #695

Once that's merged, you can rebase from here and the tests should run. We can work on merging it in then.

@joshsmith
Copy link
Contributor

@Banzay that PR is merged now. Would you be able to rebase onto develop and see if that helps?

@YuriiZdyrko YuriiZdyrko force-pushed the tests-color-cloudinary branch from 188244e to 6f0e262 Compare February 16, 2017 07:27
@YuriiZdyrko YuriiZdyrko force-pushed the tests-color-cloudinary branch from 6f0e262 to c9c342c Compare February 16, 2017 07:30
@YuriiZdyrko
Copy link
Contributor Author

@joshsmith

Would you be able to rebase onto develop and see if that helps?

Done

@begedin
Copy link
Contributor

begedin commented Feb 16, 2017

This looks good to go. Thank you @Banzay

@begedin
Copy link
Contributor

begedin commented Feb 16, 2017

Merging unsquashed because the two commits do different things.

@begedin begedin merged commit 4733eab into code-corps:develop Feb 16, 2017
@joshsmith
Copy link
Contributor

Thanks @Banzay 🙌

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.

3 participants