Sha256: ea728b9765ad65c2914f44d519ea6f006904ef19e6b8ec48f1e7e892f6720232

Contents?: true

Size: 373 Bytes

Versions: 42

Compression:

Stored size: 373 Bytes

Contents

require 'spec_helper'

describe <%= publisher_name.classify %> do

  describe '.process' do

    # TODO: set up whatever needs to be set up

    it "publishes the task" do
      # TODO: assert the correct arguments
      described_class.any_instance.should_receive(:publish).with()
      # TODO: pass the right arguments
      described_class.publish()
    end

  end

end

Version data entries

42 entries across 42 versions & 1 rubygems

Version Path
dispatch-rider-2.2.0 lib/generators/dispatch_rider/job/templates/publisher/publisher_spec.rb.erb
dispatch-rider-2.1.0 lib/generators/dispatch_rider/job/templates/publisher/publisher_spec.rb.erb
dispatch-rider-2.0.0 lib/generators/dispatch_rider/job/templates/publisher/publisher_spec.rb.erb
dispatch-rider-1.9.0 lib/generators/dispatch_rider/job/templates/publisher/publisher_spec.rb.erb
dispatch-rider-1.8.6 lib/generators/dispatch_rider/job/templates/publisher/publisher_spec.rb.erb
dispatch-rider-1.8.5 lib/generators/dispatch_rider/job/templates/publisher/publisher_spec.rb.erb
dispatch-rider-1.8.4 lib/generators/dispatch_rider/job/templates/publisher/publisher_spec.rb.erb
dispatch-rider-1.8.3 lib/generators/dispatch_rider/job/templates/publisher/publisher_spec.rb.erb
dispatch-rider-1.8.2 lib/generators/dispatch_rider/job/templates/publisher/publisher_spec.rb.erb
dispatch-rider-1.8.1 lib/generators/dispatch_rider/job/templates/publisher/publisher_spec.rb.erb
dispatch-rider-1.8.0 lib/generators/dispatch_rider/job/templates/publisher/publisher_spec.rb.erb
dispatch-rider-1.7.2 lib/generators/dispatch_rider/job/templates/publisher/publisher_spec.rb.erb
dispatch-rider-1.7.1 lib/generators/dispatch_rider/job/templates/publisher/publisher_spec.rb.erb
dispatch-rider-1.7.0 lib/generators/dispatch_rider/job/templates/publisher/publisher_spec.rb.erb
dispatch-rider-1.6.2 lib/generators/dispatch_rider/job/templates/publisher/publisher_spec.rb.erb
dispatch-rider-1.6.1 lib/generators/dispatch_rider/job/templates/publisher/publisher_spec.rb.erb
dispatch-rider-1.6.0 lib/generators/dispatch_rider/job/templates/publisher/publisher_spec.rb.erb
dispatch-rider-1.5.3 lib/generators/dispatch_rider/job/templates/publisher/publisher_spec.rb.erb
dispatch-rider-1.5.2 lib/generators/dispatch_rider/job/templates/publisher/publisher_spec.rb.erb
dispatch-rider-1.5.1 lib/generators/dispatch_rider/job/templates/publisher/publisher_spec.rb.erb