diff --git a/config/environments/test.rb b/config/environments/test.rb index 44f10aeeb5..5c88af0228 100644 --- a/config/environments/test.rb +++ b/config/environments/test.rb @@ -30,4 +30,10 @@ # Use SQL instead of Active Record's schema dumper when creating the test database. # This is necessary if your schema can't be completely dumped by the schema dumper, # like if you have constraints or database-specific column types -# config.active_record.schema_format = :sql \ No newline at end of file +# config.active_record.schema_format = :sql + +# Optionally load 'awesome_print' gem to be able to use it in specs. +begin + require 'ap' +rescue LoadError +end