To add a collaborator to this project you will need to use the Relish gem to add the collaborator via a terminal command. Soon you'll be able to also add collaborators here!
More about adding a collaboratorConfigure directory where to look for fixtures
As a developer
I want to configure the directory where aruba looks for fixtures
In order to use them in my tests
- Background
-
- Given
- I use the fixture "cli-app"
- Scenarios
-
- Default value
-
- Given
-
a file named "features/support/aruba.rb" with:
Aruba.configure do |config| puts %(The default value is "%w(#{config.fixtures_directories.join(" ")})") end
- When
-
I successfully run
cucumber
- Then
-
the output should contain:
The default value is "%w(features/fixtures spec/fixtures test/fixtures fixtures)"
- Modify value
-
- Given
-
a file named "features/support/aruba.rb" with:
Aruba.configure do |config| config.fixtures_directories = %w(spec/fixtures) end Aruba.configure do |config| puts %(The default value is "%w(#{config.fixtures_directories.join(" ")})") end
- When
-
I successfully run
cucumber
- Then
-
the output should contain:
The default value is "%w(spec/fixtures)"
Last published over 7 years ago by Max Meyer.