Sha256: d58600db4feb3a043fef12505263b59ef0833220911fdbdd2dbca17dcb3f17fb
Contents?: true
Size: 378 Bytes
Versions: 3
Compression:
Stored size: 378 Bytes
Contents
require 'spec_helper' describe CatarseMonkeymail::ControllerConcerns do let(:fake_controller){ ApplicationController.new } describe "#mailchimp" do before do expect(::Mailchimp::API).to receive(:new).with(::CatarseMonkeymail.configuration.api_key).and_return('fake api') end subject{ fake_controller.mailchimp } it{ should eq 'fake api' } end end
Version data entries
3 entries across 3 versions & 1 rubygems