mirror of
https://github.com/ENSL/ensl.org.git
synced 2024-11-15 09:21:25 +00:00
Addec colour and documentaton style formatting to RSpec output to improve readability
This commit is contained in:
parent
ac195e6512
commit
afad48deef
1 changed files with 2 additions and 0 deletions
|
@ -31,6 +31,8 @@ RSpec.configure do |config|
|
||||||
config.fixture_path = "#{::Rails.root}/spec/fixtures"
|
config.fixture_path = "#{::Rails.root}/spec/fixtures"
|
||||||
config.order = 'random'
|
config.order = 'random'
|
||||||
config.use_transactional_fixtures = false
|
config.use_transactional_fixtures = false
|
||||||
|
config.color = true
|
||||||
|
config.formatter = :documentation
|
||||||
|
|
||||||
config.before(:each) do
|
config.before(:each) do
|
||||||
events_list_json = JSON.parse(File.read(Rails.root.join('spec/fixtures/google_calendar.json')))
|
events_list_json = JSON.parse(File.read(Rails.root.join('spec/fixtures/google_calendar.json')))
|
||||||
|
|
Loading…
Reference in a new issue