File: load_path.feature

package info (click to toggle)
cucumber 1.3.17-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 3,296 kB
  • ctags: 1,812
  • sloc: ruby: 13,576; python: 28; sh: 10; makefile: 10; tcl: 3
file content (14 lines) | stat: -rw-r--r-- 334 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Feature: Set up a default load path

  Scenario: ./lib is included in the $LOAD_PATH
    Given a file named "features/support/env.rb" with:
      """
      require 'something'
      """
    And a file named "lib/something.rb" with:
      """
      class Something
      end
      """
    When I run `cucumber`
    Then it should pass