Chore: Added tests for contacts_controller (#509)

- Tests for contacts controller
Addresses:  #37
This commit is contained in:
Tim Lange
2020-02-17 12:38:29 +01:00
committed by GitHub
parent fc23a10a99
commit 60547b9fb3
5 changed files with 130 additions and 2 deletions

View File

@@ -69,3 +69,8 @@ Shoulda::Matchers.configure do |config|
with.library :rails
end
end
# Required for fixture_file_upload
FactoryBot::SyntaxRunner.class_eval do
include ActionDispatch::TestProcess
end