Skip to content

Commit 5147b08

Browse files
committed
Allow running a single spec file
Due to missing requires the only way to execute unit tests is by doing `bundle exec rake`.
1 parent 98422c2 commit 5147b08

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

spec/spec_helper.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@
66
require 'rspec/rails'
77
require 'rspec/autorun'
88
require 'capybara/rails'
9+
require 'database_cleaner'
10+
require 'fabrication'
11+
require 'faker'
12+
I18n.reload!
913

1014
# Requires supporting ruby files with custom matchers and macros, etc,
1115
# in spec/support/ and its subdirectories.

0 commit comments

Comments
 (0)