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-1.5.0 lib/generators/dispatch_rider/job/templates/publisher/publisher_spec.rb.erb
dispatch-rider-1.4.2 lib/generators/dispatch_rider/job/templates/publisher/publisher_spec.rb.erb
dispatch-rider-1.4.0 lib/generators/dispatch_rider/job/templates/publisher/publisher_spec.rb.erb
dispatch-rider-1.3.6 lib/generators/dispatch_rider/job/templates/publisher/publisher_spec.rb.erb
dispatch-rider-1.3.5 lib/generators/dispatch_rider/job/templates/publisher/publisher_spec.rb.erb
dispatch-rider-1.3.4 lib/generators/dispatch_rider/job/templates/publisher/publisher_spec.rb.erb
dispatch-rider-1.3.3 lib/generators/dispatch_rider/job/templates/publisher/publisher_spec.rb.erb
dispatch-rider-1.3.2 lib/generators/dispatch_rider/job/templates/publisher/publisher_spec.rb.erb
dispatch-rider-1.3.1 lib/generators/dispatch_rider/job/templates/publisher/publisher_spec.rb.erb
dispatch-rider-1.3.0 lib/generators/dispatch_rider/job/templates/publisher/publisher_spec.rb.erb
dispatch-rider-1.2.11 lib/generators/dispatch_rider/job/templates/publisher/publisher_spec.rb.erb
dispatch-rider-1.2.10 lib/generators/dispatch_rider/job/templates/publisher/publisher_spec.rb.erb
dispatch-rider-1.2.9 lib/generators/dispatch_rider/job/templates/publisher/publisher_spec.rb.erb
dispatch-rider-1.2.8 lib/generators/dispatch_rider/job/templates/publisher/publisher_spec.rb.erb
dispatch-rider-1.2.7 lib/generators/dispatch_rider/job/templates/publisher/publisher_spec.rb.erb
dispatch-rider-1.2.6 lib/generators/dispatch_rider/job/templates/publisher/publisher_spec.rb.erb
dispatch-rider-1.2.5 lib/generators/dispatch_rider/job/templates/publisher/publisher_spec.rb.erb
dispatch-rider-1.2.4 lib/generators/dispatch_rider/job/templates/publisher/publisher_spec.rb.erb
dispatch-rider-1.2.3 lib/generators/dispatch_rider/job/templates/publisher/publisher_spec.rb.erb
dispatch-rider-1.2.2 lib/generators/dispatch_rider/job/templates/publisher/publisher_spec.rb.erb