Skip to content

Commit

Permalink
Load 'awesome_print' gem (if available) in test environment
Browse files Browse the repository at this point in the history
  • Loading branch information
Mike Dvorkin committed Sep 1, 2010
1 parent a906d65 commit 079ff71
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion config/environments/test.rb
Expand Up @@ -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
# 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

0 comments on commit 079ff71

Please sign in to comment.