Monthly Archives: July 2011

Testing social networks using capybara, cucumber-rails, selenium

Integration of social networks is very common in every application. We have many gems are available for doing integration. But testing this social integration is complicated task. Using capybara with cucumber we can easily test this similar to the normal … Continue reading

Posted in Ruby on Rails, Tutorials | Tagged , , , | 1 Comment

Ajax forms testing using capybara, cucumber-rails and selenium

Manual UI testing plays a crucial part in test life cycle. However doing the same UI testing on every other day will became tedious. By using cucumber with capybara we can transform these mundane tasks into some interesting learning. We … Continue reading

Posted in Ruby on Rails, Tutorials | Tagged , , | Leave a comment

Factory_girl with Non-ActiveRecord classes

In earlier post we have seen how to test active record associations with factory girl. Now we will learn how factory girl works with non-active record classes. When we want to test external API responses, this will be useful.  By … Continue reading

Posted in Ruby on Rails, Tutorials | Tagged , | 3 Comments