aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_helper.rb
diff options
context:
space:
mode:
authorTeddy Wing2017-02-03 19:50:40 +0100
committerTeddy Wing2017-02-03 19:50:40 +0100
commit0c4c9d3d1e91529c4bb9b4b410293f3c38756e6a (patch)
tree993636b721c1d196784eb311bf86dd36e16adf50 /test/test_helper.rb
downloadAngular-tutorial-0c4c9d3d1e91529c4bb9b4b410293f3c38756e6a.tar.bz2
Initial commit. Base Rails 5.0.1 project.
Diffstat (limited to 'test/test_helper.rb')
-rw-r--r--test/test_helper.rb10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/test_helper.rb b/test/test_helper.rb
new file mode 100644
index 0000000..92e39b2
--- /dev/null
+++ b/test/test_helper.rb
@@ -0,0 +1,10 @@
+ENV['RAILS_ENV'] ||= 'test'
+require File.expand_path('../../config/environment', __FILE__)
+require 'rails/test_help'
+
+class ActiveSupport::TestCase
+ # Setup all fixtures in test/fixtures/*.yml for all tests in alphabetical order.
+ fixtures :all
+
+ # Add more helper methods to be used by all tests here...
+end