user2166656
user2166656

Reputation: 21

how to debug in rspec in rails

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/

Upvotes: 1

Views: 546

Answers (1)

Dan McClain
Dan McClain

Reputation: 11920

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

Upvotes: 3

Related Questions