Reputation: 10358
We want to print out some variables to the screen during integration test. pp
and puts
were not doing anything. Is there other command we can use in rspec to print out to screen in integration test (use capybara)? Thanks.
Upvotes: 1
Views: 861
Reputation: 24815
Just use puts
.
Make sure your rspec output format is documentation
. Command like
rspec --format documentation
Or set that in .rspec
Upvotes: 1