Fix a flaky test.

This commit is contained in:
James Mason 2017-11-07 17:57:45 -08:00
parent 51dd5bdaa9
commit 574ac63a05
2 changed files with 7 additions and 3 deletions

View file

@ -26,6 +26,10 @@ require 'phantomjs'
# makes it easier to control when PaperTrail is enabled during testing.
require 'paper_trail/frameworks/rspec'
# Make htmlescape() available
require 'erb'
include ERB::Util
# Requires supporting ruby files with custom matchers and macros, etc, in
# spec/support/ and its subdirectories. Files matching `spec/**/*_spec.rb` are
# run as spec files by default. This means that files in spec/support that end