Horje
rspec log to console Code Example
rspec log to console
# output to go into the log file (i.e logs/test.log)
Rails.logger.debug variable.inspect
Rails.logger.debug variable.to_yaml

# output in the console
require 'pp'

it 'does something'
	thing = Factory(:something)
    pp thing
end

# or
put s thing.to_yaml




Whatever

Related
sore Code Example sore Code Example
systemd Scheduled events are little more than services Code Example systemd Scheduled events are little more than services Code Example
Free IP Geo Location API JAVASCRIPT Code Example Free IP Geo Location API JAVASCRIPT Code Example
rust undefined size array Code Example rust undefined size array Code Example
increase text size in android studio Code Example increase text size in android studio Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
7