Given I have a named route: map.some_route \'/some_routes/:id\', :controller => \'some\', :action => \'other\'
I want to make sure I have the right meta desc/keyword and title text in my view so I want to create rspec views tests for that. Now the real challange here is how to make it work across multiple lang
I am using RSpec for writing my controller tests/specs. I faced the problem, that the following code gets rendered:
What are the best practices and tools to test email-sending using rspec with Rails? For instance, how do I test that an email has been sent or what should I test to have effici开发者_如何学Goent tes
In other o/s RSpec returns nicely coloured results (red, green etc). However in the windows (Vista) command prompt my text outpu开发者_如何学Ct is just plain old boring white.
I have an method in ApplicationHelper def javascript_auto_link_tags js_path = \"#{RAILS_ROOT}/public/javascripts\"
After doing some stuff in Ruby on Rails with Cucumber, RSpec and Ruby BDD in general, comming back to JUnit in my Java apps feels like incredible pain to me. I just love the convenience that Ruby brin
I want to test my User Session Controller testing that a user session is first built then saved. My UserSession class looks like this:
I\'ve been using Selenium (with selenium rc, and the ide) in ruby, with rspec, for some time and it\'s been great.I recently wiped my installation of ubuntu, however, and installed ubuntu 9.10.I set s
I want to define alternative sets of fixtures per database table. For example, class BusinessSpec describe \"some aspect of businesses\" do