|
|
|
@ -27,26 +27,6 @@ |
|
|
|
|
# See doc/COPYRIGHT.rdoc for more details. |
|
|
|
|
#++ |
|
|
|
|
|
|
|
|
|
# TL;DR: YOU SHOULD DELETE THIS FILE |
|
|
|
|
# |
|
|
|
|
# This file was generated by Cucumber-Rails and is only here to get you a head start |
|
|
|
|
# These step definitions are thin wrappers around the Capybara/Webrat API that lets you |
|
|
|
|
# visit pages, interact with widgets and make assertions about page content. |
|
|
|
|
# |
|
|
|
|
# If you use these step definitions as basis for your features you will quickly end up |
|
|
|
|
# with features that are: |
|
|
|
|
# |
|
|
|
|
# * Hard to maintain |
|
|
|
|
# * Verbose to read |
|
|
|
|
# |
|
|
|
|
# A much better approach is to write your own higher level step definitions, following |
|
|
|
|
# the advice in the following blog posts: |
|
|
|
|
# |
|
|
|
|
# * http://benmabey.com/2008/05/19/imperative-vs-declarative-scenarios-in-user-stories.html |
|
|
|
|
# * http://dannorth.net/2011/01/31/whose-domain-is-it-anyway/ |
|
|
|
|
# * http://elabs.se/blog/15-you-re-cuking-it-wrong |
|
|
|
|
# |
|
|
|
|
|
|
|
|
|
require 'uri' |
|
|
|
|
require 'cgi' |
|
|
|
|
require File.expand_path(File.join(File.dirname(__FILE__), "..", "support", "paths")) |
|
|
|
|