I have 30 specs in my foo_controller_spec.rb and when I run the entire file using spec, I get 4 failures and 2 pending. When I run the 4 failing specs individually, 3 of them still fail, but one of th
Trying to reinstall RSpec, 开发者_高级运维and I can\'t seem to re-add its command to my bin folder.
I am trying to get my hands on Rspec2 with Rails3 (never used rspec before). I have rspec-rails 2.0.0.beta20. After introducing some basic tests into spec/models and running
I am new to mock objects, and I am trying to learn how to use them in RSpec. Ca开发者_JS百科n someone please post an example (a hello RSpec Mock object world type example), or a link (or any other ref
I\'m working with Time in Rails and using the following code to set up the start date and end date of a project:
I\'m implementing a service that has several different ways it can be accessed: Using simple query parameters
NetBeans 6.9 provides a custom Runner class for RSpec to be integrated into the IDE. I\'m trying to get my Rails 3 applications specs to be correctly displayed inside NetBeans, but RSpec 2 seems no lo
My Rails 2 app displays a slideshow of photos from Flickr via the flickraw library.My code works, but I\'m stuck on how to properly write RSpec unit tests.
I\'ve got two files in app/views/users -rw-r--r--1 create.html.erb -rw-r--r--@ 1 new.html.erb With autospec running and all my tests passing, I touch \'new.html.erb\' and and growl notifies my that
Are there strong reasons for using Rspec for controllers and views too? My views are heavily dependent on Javascript, and as far as I know, Rspec doesn\'t handle javascript/ajax on views. Also im usi