spec/fields/contents_spec.rb in mods_display-0.1.4 vs spec/fields/contents_spec.rb in mods_display-0.2.0
- old
+ new
@@ -1,8 +1,8 @@
require "spec_helper"
def mods_display_contents(mods_record)
- ModsDisplay::Contents.new(mods_record, ModsDisplay::Configuration::Base.new, mock("controller"))
+ ModsDisplay::Contents.new(mods_record, ModsDisplay::Configuration::Base.new, double("controller"))
end
describe ModsDisplay::Contents do
before(:all) do
@contents = Stanford::Mods::Record.new.from_str("<mods><tableOfContents>Content Note</tableOfContents></mods>", false).tableOfContents
\ No newline at end of file