Skip to content
This repository has been archived by the owner on Apr 2, 2021. It is now read-only.

Allow file extensions other than .yaml #4

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

diminish7
Copy link

Allows fixture files with different extensions

There are two primary use-cases:

  1. Allow sharing of fixtures with a Rails project, where generated fixtures usually have the .yml extension instead of .yaml
  2. Allow ERB fixture files with .yml.erb extension. This part depends on a PR to the SymbolMatrix gem to parse ERB when loading (Parse ERB when loading data from YAML files Fetcher/symbolmatrix#7).

In addition, I've updated specs for rspec 3, fixing failures (global stub) and deprecation warnings for the old should syntax and message receiving. (https://relishapp.com/rspec/rspec-mocks/v/3-2/docs/old-syntax)

Jason Rush added 2 commits April 20, 2015 11:21
Fixed failures (global `stub`) and deprication warnings for
old `should` syntax and message receiving.

https://relishapp.com/rspec/rspec-mocks/v/3-2/docs/old-syntax
Two primary use-cases:
1. Allow sharing of fixtures with a Rails project, where generated
   fixtures usually have the .yml extension instead of .yaml
2. Allow ERB fixture files with .yml.erb extension. This depends
   on a PR to the `SymbolMatrix` gem to parse ERB when loading.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant