So, I\'m trying to learn the rspec BDD testing framework in the context of a rails project.The problem I\'m having is that I can\'t, for the life of me, get my fixtures to load properly in rspec descr
I found example how to use on: http://www.claytonlz.com/index.php/2009/04/how-to-setup-rspec-cucumber-webrat-rcov-and-autotest-on-leo开发者_开发百科pard/
When I\'m using autospec to test a non-Rails Ruby project, I always have trouble getting my tests to show up red or green.
I am writing specs for View, that has a menu (which is in a partial) rendered in layout. I want to write specs for selected menu. Here is the code
I am trying to capture screenshots on test failure using selenium-client and rspec.I run this command:
I currently have some expectations set up on a mock with consecutive calls: The spec: @my_mock = 开发者_开发问答mock(\"a_mock\")
I am trying to use ruby-debug to debug my specs. When i do this, i am not able to access local variables. Instance variables, however, are fine. Is there a way to make this work with local variables?
Just wanted to get some opinions on how to go about testing an extremely long form with 20+ required fields. It seems like my Cucumber scenario could be like 25 lines long if I tried to describe every
I\'ve had to add features to an application that depends on a database from another application. I\'ve been able to set up a connection to this external database and pull data from it. However, I\'m n
Given I am a dumb programmer and I am using rspec and I am using spork and I want to debug ...mmm...let\'s saaay, a spec for Phone.