1

I am running the the rspec case and I want to print some objects on the terminal while running rspec.how to this.thanks in advance

I am using old version of rails and running by this command script/spec spec/

0

1 Answer 1

3

You should just be able to put puts calls in your specs. There is no reason why this would not work

Sign up to request clarification or add additional context in comments.

1 Comment

like suppose if /i have object called person so in that case "puts person" should work

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.