How to stub specific IDs only in cucumber test?

0 votes
asked Mar 16, 2016 by souvannarit (390 points)
Very new to Ruby and cucumber, and i've got controller that accepts ID. Wont get any suggestion for thattry this jsfiddle

3 Answers

0 votes
answered Mar 18, 2016 by larita (930 points)
I have posted this as a separate answer as it is unrelated to my existing answer
More details in this link The Ruby/Rails Life My Rails 3 Stack Part 2 | Joey ...
0 votes
answered Apr 18, 2016 by stones (530 points)
This is just something I came up with to solve the problem. Try this for windows users How should i test this code with rspec - Ruby Programming ...
0 votes
answered Apr 25, 2016 by fun_To (550 points)
How do Iapproach writing tests

Related questions

What is Geekub?

Q&A site for professional and enthusiast programmers, software developers and other technical users. With your help, we hope to work together to build a library of detailed answers to just about any question that is related to programming!