spec/fields/collection_spec.rb in mods_display-0.1.4 vs spec/fields/collection_spec.rb in mods_display-0.2.0

- old
+ new

@@ -1,8 +1,8 @@ require "spec_helper" def mods_display_collection(mods_record) - ModsDisplay::Collection.new(mods_record, ModsDisplay::Configuration::Base.new, mock("controller")) + ModsDisplay::Collection.new(mods_record, ModsDisplay::Configuration::Base.new, double("controller")) end describe ModsDisplay::Collection do before(:all) do @collection = Stanford::Mods::Record.new.from_str("<mods><relatedItem><titleInfo><title>The Collection</title></titleInfo><typeOfResource collection='yes' /></relatedItem></mods>", false).related_item \ No newline at end of file