RSpec is a behavior-driven development (BDD) framework for the Ruby programming language, inspired by JBehave.
I'm writing tests on Rspec for my models in Ruby on Rails application. And I receive this error while starting …
ruby-on-rails testing model rspecI'm using RSpec2 and Capybara for acceptance testing. I would like to assert that link is disabled or not in …
ruby-on-rails rspec capybaraI am upgrading from rspec 2.99 to rspec 3.0.3 and have converted instance methods to use allow_any_instance_of, but haven't …
ruby-on-rails ruby rspec rspec3I've scoured the web, but, alas, I just can't seem to get Rspec to correctly send content-type so I can …
ruby-on-rails json api header rspecI often want to compare arrays and make sure that they contain the same elements, in any order. Is there …
ruby testing rspecOur code: describe "GET show" do it "assigns the requested subcategory as @subcategory" do subcategory = Subcategory.create! valid_attributes get :…
ruby-on-rails rspecI have this: <input class="string optional" id="course_group_courses_attributes_2_name" name="course_group[courses_attributes][2][name]" …
rspec capybaraI'm trying to get Ruby debugger running in one of my specs: describe User do it "should be valid" do …
ruby-on-rails rspec rake ruby-debugI have started my journey with TDD in Rails and have run into a small issue regarding tests for model …
ruby-on-rails ruby-on-rails-3 rspec rspec2 rspec-railsI have this in my test Project.should_receive(:find).with(@project).and_return(@project) but when object receive that …
ruby-on-rails rspec