Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Merge pull request #36303 from gaotongfei/feature/ignore-specified-fi…
…xtures Allow specifying fixtures to be ignored in "_fixture" section
- Loading branch information
Showing
6 changed files
with
111 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
_fixture: | ||
model_class: Book | ||
ignore: | ||
- PUBLISHED | ||
- PUBLISHED_PAPERBACK | ||
- PUBLISHED_EBOOK | ||
|
||
PUBLISHED: &PUBLISHED | ||
status: :published | ||
|
||
PUBLISHED_PAPERBACK: &PUBLISHED_PAPERBACK | ||
<<: *PUBLISHED | ||
format: "paperback" | ||
language: :english | ||
|
||
PUBLISHED_EBOOK: &PUBLISHED_EBOOK | ||
<<: *PUBLISHED | ||
format: "ebook" | ||
|
||
awdr: | ||
<<: *PUBLISHED_PAPERBACK | ||
name: "Agile Web Development with Rails" | ||
|
||
rfr: | ||
<<: *PUBLISHED_EBOOK | ||
name: "Ruby for Rails" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters