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

- old
+ new

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