-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixing rake tasks to load fixture properly
- Loading branch information
1 parent
ae8962b
commit 26b9388
Showing
2 changed files
with
24 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
require "active-fedora" | ||
require "active_fedora/samples" | ||
|
||
# This Model is used to load & index the hydrangea:fixture_mods_article1 fixture for use in tests. | ||
# | ||
# See lib/samples/sample_thing.rb for a fuller, annotated example of an ActiveFedora Model | ||
class HydrangeaArticle < ActiveFedora::Base | ||
|
||
has_metadata :name => "descMetadata", :type=> Hydra::ModsArticleDatastream | ||
has_metadata :name => "rightsMetadata", :type => Hydra::RightsMetadataDatastream | ||
|
||
end |
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