Skip to content

Instantly share code, notes, and snippets.

@takuyan
Created December 27, 2012 13:21
Show Gist options
  • Save takuyan/4388345 to your computer and use it in GitHub Desktop.
Save takuyan/4388345 to your computer and use it in GitHub Desktop.
# spec/spec_helper.rb
require "paperclip/matchers"
RSpec.configure do |config|
#
# etc...
#
# 追加
config.include Paperclip::Shoulda::Matchers
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment