Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR RUBY

rspec match optional keyword arguments

expect(obj).to respond_to(:message).with(3).arguments.and_keywords(:color, :shape)
Source by www.rubydoc.info #
 
PREVIOUS NEXT
Tagged: #rspec #match #optional #keyword #arguments
ADD COMMENT
Topic
Name
6+3 =