Sha256: 5e85bcadd48f439c56bb6d8d42fe5ad64b8d6ae6b8f7a87e19751452db2f9512

Contents?: true

Size: 353 Bytes

Versions: 92

Compression:

Stored size: 353 Bytes

Contents

require 'spec_helper'
require 'flydata/command/crontab'

module Flydata
  module Command
    describe Crontab do
      subject { described_class.new }
      let(:cron) { double("cron") }

      it do
        expect(Flydata::Cron).to receive(:new).and_return(cron)
        expect(cron).to receive(:update)
        subject.run
      end
    end
  end
end

Version data entries

92 entries across 92 versions & 1 rubygems

Version Path
flydata-0.3.17 spec/flydata/command/crontab_spec.rb
flydata-0.3.16 spec/flydata/command/crontab_spec.rb
flydata-0.3.15 spec/flydata/command/crontab_spec.rb
flydata-0.3.14 spec/flydata/command/crontab_spec.rb
flydata-0.3.13 spec/flydata/command/crontab_spec.rb
flydata-0.3.12 spec/flydata/command/crontab_spec.rb
flydata-0.3.11 spec/flydata/command/crontab_spec.rb
flydata-0.3.10 spec/flydata/command/crontab_spec.rb
flydata-0.3.9 spec/flydata/command/crontab_spec.rb
flydata-0.3.8 spec/flydata/command/crontab_spec.rb
flydata-0.3.7 spec/flydata/command/crontab_spec.rb
flydata-0.3.6 spec/flydata/command/crontab_spec.rb