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