Sha256: 48d12dda720cd3d45075d5c583421813e4d2ea66c7931cedb22c7bd5ab50a54b

Contents?: true

Size: 358 Bytes

Versions: 11

Compression:

Stored size: 358 Bytes

Contents

require File.dirname(__FILE__) + '/../spec_helper'

describe WebhooksController do
  describe "#g5_configurator" do
    before do
      Sibling::Instruction.stub(:async_consume_feed).and_return(true)
    end
    it "queues feed consumption" do
      Sibling::Instruction.should_receive(:async_consume_feed).once
      post :g5_configurator
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
g5_sibling_deployer_engine-0.7.0 spec/controllers/webhooks_controller_spec.rb
g5_sibling_deployer_engine-0.6.3 spec/controllers/webhooks_controller_spec.rb
g5_sibling_deployer_engine-0.6.2 spec/controllers/webhooks_controller_spec.rb
g5_sibling_deployer_engine-0.6.1 spec/controllers/webhooks_controller_spec.rb
g5_sibling_deployer_engine-0.5.0 spec/controllers/webhooks_controller_spec.rb
g5_sibling_deployer_engine-0.4.2 spec/controllers/webhooks_controller_spec.rb
g5_sibling_deployer_engine-0.4.1 spec/controllers/webhooks_controller_spec.rb
g5_sibling_deployer_engine-0.4.0 spec/controllers/webhooks_controller_spec.rb
g5_sibling_deployer_engine-0.3.3 spec/controllers/webhooks_controller_spec.rb
g5_sibling_deployer_engine-0.3.2 spec/controllers/webhooks_controller_spec.rb
g5_sibling_deployer_engine-0.2.6 spec/controllers/webhooks_controller_spec.rb