ruby - Unable to use RSpec::Matchers with binding.pry -


i'm working cucumber, ruby , siteprism classes. trying make assertions inside siteprism classes , manage use 'expectation' methods when including rspec::matchers, however, using 'binding.pry' debugging , i've noticed not able use anymore keeps of failing following error:

nomethoderror: private method `print' called #rspec::matchers::builtin::output:0x0000000a5536b0> did mean? printf sprintf

do know error be? i've tried different ways include rspec::matchers, not sure if i'm doing wrong way?

*method 1:* include rspec::matchers class siteprismpage  *method 2:* class siteprismpage     extend rspec::matchers  *method 3:* class siteprismpage end world{siteprismpage.new} 


Comments

Popular posts from this blog

javascript - Confirm a form & display message if form is valid with JQuery -

Retrieving ETA (estimated time of arrival) with Google Distance Matrix API and public transit as transport mode -

ionic framework - Meteor - Error: Failed to execute 'insertBefore' on 'Node' -