spec/fields/description_spec.rb in mods_display-0.1.4 vs spec/fields/description_spec.rb in mods_display-0.2.0
- old
+ new
@@ -1,8 +1,8 @@
require "spec_helper"
def mods_display_description(mods)
- ModsDisplay::Description.new(mods, ModsDisplay::Configuration::Base.new, mock("controller"))
+ ModsDisplay::Description.new(mods, ModsDisplay::Configuration::Base.new, double("controller"))
end
describe ModsDisplay::Description do
before(:all) do
@form = Stanford::Mods::Record.new.from_str("<mods><physicalDescription><note>Description Note</note></physicalDescription></mods>", false).physical_description
\ No newline at end of file