Tag Archives: testing

Protip – Capybara-RSpec integration with Continuous Integration.

If you are dealing with UI test case automation wherein you see your test cases running in the launched browser window – example being using ‘Capybara’ with ‘Selenium web-driver’ or for that matter any web-driver , then this post can … Continue reading

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

Stubbing Geo-location requests using webmock

Geo-location integration is common today for every web application. We have gems on hand, to integrate Geo-location to our application. With few steps of configuration we can Geo-code our attributes ie., user addresses. But testing Geo-coding integration takes much more … Continue reading

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

Integrity Continuous Integration

Integrity is a Continuous Integration Tool where we can run our tests (Rspec or Cucumber) to check whether the application is running fine or not.  Whenever there is a commit it will run the test cases and checks whether the … Continue reading

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

Testing associations with factory girl

Associations are very important when we are working with relational databases. Writing relations in models is easy but when it comes testing them, it is a painful task. Factory girl associations makes this easy. Before going into details, lets get … Continue reading

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