Improve message when running tests
This commit is contained in:
parent
9b216151f8
commit
23b1703450
|
@ -28,11 +28,10 @@ RSpec.configure do |config|
|
||||||
config.alias_it_should_behave_like_to :it_has_behavior, 'has behavior'
|
config.alias_it_should_behave_like_to :it_has_behavior, 'has behavior'
|
||||||
|
|
||||||
config.before(:suite) do
|
config.before(:suite) do
|
||||||
puts '=' * 80
|
|
||||||
connection_name = ActiveRecord::Base.connection.adapter_name
|
connection_name = ActiveRecord::Base.connection.adapter_name
|
||||||
puts "Running specs against #{connection_name}, ActiveRecord #{
|
message = "Running specs against #{connection_name}, Active Record #{
|
||||||
ActiveRecord::VERSION::STRING} and ARel #{Arel::VERSION}..."
|
ActiveRecord::VERSION::STRING} and Arel #{Arel::VERSION}..."
|
||||||
puts '=' * 80
|
puts '=' * message.length, message, '=' * message.length
|
||||||
Schema.create
|
Schema.create
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue