Sha256: 98da063e07347e848f5fb02eae9ee8dd99c1723301853a517f5ecb9af0345743
Contents?: true
Size: 1.03 KB
Versions: 25
Compression:
Stored size: 1.03 KB
Contents
Feature: Adding the --with-lib flag Background: When I run `testgen project sample --with-lib --pageobject-driver=watir` Scenario: Adding the require_all gem to Gemfile Then a file named "sample/Gemfile" should exist And the file "sample/Gemfile" should contain "gem 'require_all'" Scenario: Creating the lib directory Then a directory named "sample/lib" should exist Scenario: Creating the pages directory in lib Then a directory named "sample/lib/pages" should exist Scenario: Adding lib to loadpath in env.rb Then a file named "sample/features/support/env.rb" should exist And the file "sample/features/support/env.rb" should contain "$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '../../', 'lib'))" Scenario: Adding require_all stuff to the env.rb Then a file named "sample/features/support/env.rb" should exist And the file "sample/features/support/env.rb" should contain "require 'require_all'" And the file "sample/features/support/env.rb" should contain "require_all 'lib'"
Version data entries
25 entries across 25 versions & 2 rubygems