My impression of how autotest is intended to work (based on the cucumber github wiki, and other stuff online) is that it should rerun red examples until they pass. My problem is that it reruns all exa
I can write cookies to the request fine with: request.cookies[\'foo\'] = \'bar\' But none of these work:
I\'m having some problems using Sinatra with Capybara. I want to test a pure javascript application. It\'s just a plain index.html that is being served by Sinatra.
A little confused here, what is the difference between a factory 开发者_Go百科and a fixture? So I\'m using factory_girl, when I create an object using the factory, should it be persisted to the db?Or
I know the following things work: returning a parameter subject.should_receive(:get_user_choice){ |choices| choices.to_a[0] }
I have a requests spec that makes multiple calls to visit within a single block (visits \'/sessions/new\' and visits \'/admin\'). This results in:
I am trying to get my test suite working and am having some issues. #home_controller_spec.rb require \'spec_helper\'
I want to run a given suite of tests several times - once as each of the basic types 开发者_C百科of system users. (It tests the various features that should be shared by them). More generally, I often
I have the following validator: # Source: http://guides.rubyonrails.org/active_record_validations_callbacks.html#custom-validators
I try to run spec tests and I get bundle exec rake spec Could not find selenium-webdriver-2.6.0 in any of the sources