Changing selector 'contains' to use option :text to find elements.

This change has been based on Capybara documentation.

http://rubydoc.info/github/jnicklas/capybara/master/Capybara/Node/Finders#find-instance_method