Sha256: 476174dbd896fbd29050fa30ebb2c0e25244ac8ae615da684c073706892cf87c
Contents?: true
Size: 849 Bytes
Versions: 7
Compression:
Stored size: 849 Bytes
Contents
Feature: Honour working directory Honour the working directory during testing In order to support helpers which work with the current directories Scenario: Set working directory for helpers in tests Given a fixture app "empty-app" And a file named "source/index.html.erb" with: """ <%= Dir.getwd %> """ And the Server is running When I go to "/index.html" Then I should see: """ aruba """ Scenario: Set working directory for config.rb in tests Given a fixture app "empty-app" And a file named "config.rb" with: """ set :my_working_directory, Dir.getwd """ And a file named "source/index.html.erb" with: """ <%= config[:my_working_directory] %> """ And the Server is running When I go to "/index.html" Then I should see: """ aruba """
Version data entries
7 entries across 7 versions & 1 rubygems