Skip to content

Commit

Permalink
cleaning up some things so they'll be easier to test
Browse files Browse the repository at this point in the history
  • Loading branch information
flyingzumwalt committed Apr 30, 2011
1 parent 9db5680 commit f4a63dd
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 1 deletion.
1 change: 1 addition & 0 deletions app/models/audio_asset.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
require "file_asset"
class AudioAsset < FileAsset
def initialize(attrs = {})
super(attrs)
Expand Down
1 change: 1 addition & 0 deletions app/models/image_asset.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
require "file_asset"
class ImageAsset < FileAsset
def initialize(attrs = {})
super(attrs)
Expand Down
2 changes: 1 addition & 1 deletion app/models/mods_asset.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
class ModsAsset < ActiveFedora::Base
include Hydra::ModelMixins::CommonMetadata
include Hydra::ModelMixins::ModsObject
include Hydra::ModelMixins::ModelMethods
include Hydra::ModelMethods
end
1 change: 1 addition & 0 deletions app/models/video_asset.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
require "file_asset"
class VideoAsset < FileAsset
def initialize(attrs = {})
super(attrs)
Expand Down
14 changes: 14 additions & 0 deletions config/role_map_test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
archivist:
- archivist1
- archivist2
- leland_himself
admin_policy_object_editor:
- archivist1
donor:
- donor1
- leland_himself
researcher:
- researcher1
patron:
- patron1
- leland_himself
1 change: 1 addition & 0 deletions lib/hydra/rights_metadata.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
require "active-fedora"
module Hydra
class RightsMetadata < ActiveFedora::NokogiriDatastream

Expand Down

0 comments on commit f4a63dd

Please sign in to comment.