spec/unit/extension_spec.rb in middleman-webp-0.2.7 vs spec/unit/extension_spec.rb in middleman-webp-0.3.0
- old
+ new
@@ -9,9 +9,10 @@
#Middleman::Extension.any_instance.expects(:initialize).returns(true)
app_mock = stub({
initialized: '',
instance_available: true,
after_configuration: nil,
+ before_build: nil,
after_build: nil
})
@extension = Middleman::WebPExtension.new(app_mock)
end