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.5.8 spec/flydata/command/crontab_spec.rb
flydata-0.5.7 spec/flydata/command/crontab_spec.rb
flydata-0.5.6 spec/flydata/command/crontab_spec.rb
flydata-0.5.5 spec/flydata/command/crontab_spec.rb
flydata-0.5.4 spec/flydata/command/crontab_spec.rb
flydata-0.5.3 spec/flydata/command/crontab_spec.rb
flydata-0.5.2 spec/flydata/command/crontab_spec.rb
flydata-0.5.1 spec/flydata/command/crontab_spec.rb
flydata-0.5.0 spec/flydata/command/crontab_spec.rb
flydata-0.4.3 spec/flydata/command/crontab_spec.rb
flydata-0.4.2 spec/flydata/command/crontab_spec.rb
flydata-0.4.1 spec/flydata/command/crontab_spec.rb
flydata-0.4.0 spec/flydata/command/crontab_spec.rb
flydata-0.3.24 spec/flydata/command/crontab_spec.rb
flydata-0.3.23 spec/flydata/command/crontab_spec.rb
flydata-0.3.22 spec/flydata/command/crontab_spec.rb
flydata-0.3.21 spec/flydata/command/crontab_spec.rb
flydata-0.3.20 spec/flydata/command/crontab_spec.rb
flydata-0.3.19 spec/flydata/command/crontab_spec.rb
flydata-0.3.18 spec/flydata/command/crontab_spec.rb