aboutsummaryrefslogtreecommitdiffstats
path: root/guides/code/getting_started/test/test_helper.rb
diff options
context:
space:
mode:
Diffstat (limited to 'guides/code/getting_started/test/test_helper.rb')
-rw-r--r--guides/code/getting_started/test/test_helper.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/guides/code/getting_started/test/test_helper.rb b/guides/code/getting_started/test/test_helper.rb
index 3daca18a71..f91a4375dc 100644
--- a/guides/code/getting_started/test/test_helper.rb
+++ b/guides/code/getting_started/test/test_helper.rb
@@ -3,6 +3,8 @@ require File.expand_path('../../config/environment', __FILE__)
require 'rails/test_help'
class ActiveSupport::TestCase
+ ActiveRecord::Migration.check_pending!
+
# Setup all fixtures in test/fixtures/*.yml for all tests in alphabetical order.
#
# Note: You'll currently still have to declare fixtures explicitly in integration tests