spec/fields/cartographics_spec.rb in mods_display-0.1.4 vs spec/fields/cartographics_spec.rb in mods_display-0.2.0
- old
+ new
@@ -1,10 +1,10 @@
require "spec_helper"
require "fixtures/cartographics_fixtures"
include CartographicsFixtures
def mods_display_cartographics(mods)
- ModsDisplay::Cartographics.new(mods, ModsDisplay::Configuration::Base.new, mock("controller"))
+ ModsDisplay::Cartographics.new(mods, ModsDisplay::Configuration::Base.new, double("controller"))
end
describe ModsDisplay::Cartographics do
before(:all) do
@cart = Stanford::Mods::Record.new.from_str(full_cartographic, false).subject
\ No newline at end of file