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

Install and config Carrierwave #145

Merged

Conversation

allenwq
Copy link
Member

@allenwq allenwq commented Mar 18, 2015

I'm using a separate PR here to config carrier wave.

The release version of Carrierwave haven't been updated for more than a year and it's not working well with RSpec3, there are some issues such as carrierwaveuploader/carrierwave#1421
So I'm using the one from their master branch.

Configurations for tests are mostly from their wiki: https://github.com/carrierwaveuploader/carrierwave/wiki/How-to:-Cleanup-after-your-Rspec-tests

@@ -54,4 +54,9 @@
Application.load_tasks
Rake::Task['db:seed'].invoke
end

# Delete all the uploaded files after testing
config.after(:all) do
Copy link
Member

Choose a reason for hiding this comment

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

after(:suite)

lowjoel added a commit that referenced this pull request Mar 22, 2015
@lowjoel lowjoel merged commit b615756 into Coursemology:master Mar 22, 2015
@allenwq allenwq deleted the wangqiang/carrierwave branch March 26, 2015 09:10
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.

None yet

2 participants