From 23b1703450e9b27fc7bea2f5c5f46ca3a959cff8 Mon Sep 17 00:00:00 2001 From: Jon Atack Date: Wed, 25 Mar 2015 10:38:26 +0530 Subject: [PATCH] Improve message when running tests --- spec/spec_helper.rb | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index e5861f4..5aeeb2f 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -28,11 +28,10 @@ RSpec.configure do |config| config.alias_it_should_behave_like_to :it_has_behavior, 'has behavior' config.before(:suite) do - puts '=' * 80 connection_name = ActiveRecord::Base.connection.adapter_name - puts "Running specs against #{connection_name}, ActiveRecord #{ - ActiveRecord::VERSION::STRING} and ARel #{Arel::VERSION}..." - puts '=' * 80 + message = "Running specs against #{connection_name}, Active Record #{ + ActiveRecord::VERSION::STRING} and Arel #{Arel::VERSION}..." + puts '=' * message.length, message, '=' * message.length Schema.create end