-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1665 from ELIXIR-Belgium/replace_fixtures_by_fact…
…ories Replace fixtures by factories
- Loading branch information
Showing
16 changed files
with
225 additions
and
202 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
FactoryBot.define do | ||
# source ISA tag | ||
factory(:source_isa_tag, class: IsaTag) do | ||
title { "source" } | ||
end | ||
|
||
# sample ISA tag | ||
factory(:sample_isa_tag, class: IsaTag) do | ||
title { "sample" } | ||
end | ||
|
||
# protocol ISA tag | ||
factory(:protocol_isa_tag, class: IsaTag) do | ||
title { "protocol" } | ||
end | ||
|
||
# source characteristic ISA tag | ||
factory(:source_characteristic_isa_tag, class: IsaTag) do | ||
title { "source_characteristic" } | ||
end | ||
|
||
# sample characteristic ISA tag | ||
factory(:sample_characteristic_isa_tag, class: IsaTag) do | ||
title { "sample_characteristic" } | ||
end | ||
|
||
# other material ISA tag | ||
factory(:other_material_isa_tag, class: IsaTag) do | ||
title { "other_material" } | ||
end | ||
|
||
# other material characteristic ISA tag | ||
factory(:other_material_characteristic_isa_tag, class: IsaTag) do | ||
title { "other_material_characteristic" } | ||
end | ||
|
||
# data file ISA tag | ||
factory(:data_file_isa_tag, class: IsaTag) do | ||
title { "data_file" } | ||
end | ||
|
||
# data file comment ISA tag | ||
factory(:data_file_comment_isa_tag, class: IsaTag) do | ||
title { "data_file_comment" } | ||
end | ||
|
||
# parameter value ISA tag | ||
factory(:parameter_value_isa_tag, class: IsaTag) do | ||
title { "parameter_value" } | ||
end | ||
|
||
# default ISA tag | ||
factory(:default_isa_tag, class: IsaTag) do | ||
title { "default isa-tag" } | ||
end | ||
|
||
end |
Large diffs are not rendered by default.
Oops, something went wrong.
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
Large diffs are not rendered by default.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
Oops, something went wrong.