03 May '13, 5pm

End-to-end testing with RSpec integration tests and Capybara

October 26, 2012 hrward ruby ruby on rails capybara rspec integration testing End-to-end testing with RSpec integration tests and Capybara Stability can become an issue as web applications evolve and grow — integration tests provide a great way to perform end-to-end tests that validate the application is performing as expected. Integration test with rspec and capybara When writing integration tests, try to model the test around an actor (user of the system) and the action they are performing. # spec/features/visitor_signs_up_spec.rb require 'spec_helper' feature 'Visitor signs up' do scenario 'with valid email and password' do sign_up_with '[email protected]', 'password' expect(page).to have_content('Sign out') end scenario 'with invalid email' do sign_up_with 'invalid_email', 'password' expect(page).to have_content('Sign in') end scenario 'with blank password' do sign_up_...

Full article: http://robots.thoughtbot.com/post/33771089985/rspec-integ...

Tweets

7 Landing Page Tests You Can Run Tomorrow! via ...

searchengineland.com 04 May '13, 12am

For many years, I’ve been participating in sessions/panels in which I critique PPC landing pages volunteered by audience m...

Family 'celebrates' end of bungalow - Page 2

forums.condosingapore.com 13 May '13, 11am

Quote: Originally Posted by Ringo33 A good example is the GCBs along chatworth area, where they are surrounded by highrise...

Afternic end user report: 28 end user domain sales

domainnamewire.com 02 May '13, 2pm

A startup in stealth mode, an ad agency, and two churches bought domain names last week. Before jumping into the Afternic ...

ICANN: Beta Testing for Pre-Delegation Testing ...

domainnews.com 03 May '13, 3am

In an effort to help applicants and their Registry Service Providers (RSPs) prepare for Pre-Delegation Testing (PDT), ICAN...

Not a bad way to end your high school golf career

Not a bad way to end your high school golf career

pga.com 05 May '13, 3pm

Watch the sports highlights on TV for more than a few minutes, and you're likely to see a game-winning home run in basebal...

Everyday Rails Testing with RSpec: Updates for ...

everydayrails.com 25 Apr '13, 2am

Everyday Rails Testing with RSpec: Updates for April, 2013 April 24, 2013 Last week I released another round of updates to...

Getting up and running with Ruby 2.0, Rails 4, ...

basicnetworking.us 13 May '13, 6pm

require 'simplecov' SimpleCov.start # This file is copied to spec/ when you run 'rails generate rspec:install' ENV["RAILS_...

Help end cold homes and fuel poverty - please s...

foe.co.uk 03 May '13, 11am

Please add my name to the Energy Bill Revolution coalition's petition calling on the Government to use the money it gets f...

22 end user sales last week

domainnamewire.com 08 May '13, 5pm

A pharmacy chain, cybersecurity company, and a baseball glove company made domain purchases last week. Afternic sold just ...

Changi Airport tests scanners that don't show too much body

Changi Airport tests scanners that don't show t...

straitstimes.com 02 May '13, 11pm

A NEW type of body scanner that addresses privacy concerns by producing generic stick-figure images instead of body contou...