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

- old
+ new

@@ -1,8 +1,8 @@ require "spec_helper" def mods_display_note(mods_record) - ModsDisplay::Note.new(mods_record, ModsDisplay::Configuration::Base.new, mock("controller")) + ModsDisplay::Note.new(mods_record, ModsDisplay::Configuration::Base.new, double("controller")) end describe ModsDisplay::Note do before(:all) do @note = Stanford::Mods::Record.new.from_str("<mods><note>Note Field</note></mods>", false).note \ No newline at end of file