Sha256: 1c896e9eb0a86fd94cac224d7cefd3aba851565a158163d70652f854b14fad98
Contents?: true
Size: 484 Bytes
Versions: 3
Compression:
Stored size: 484 Bytes
Contents
require "spec_helper" require "daily_weekly_monthly" describe DailyWeeklyMonthly do describe ".start" do let(:runner) { double :runner } let(:command) { double :command } let(:options) { double :options } before do allow(DailyWeeklyMonthly::Runner).to receive(:new).with(command, options) { runner } end it "passes the arguments to the runner" do expect(runner).to receive(:call) described_class.start command, options end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
daily_weekly_monthly-0.0.4 | spec/daily_weekly_monthly_spec.rb |
daily_weekly_monthly-0.0.3 | spec/daily_weekly_monthly_spec.rb |
daily_weekly_monthly-0.0.2 | spec/daily_weekly_monthly_spec.rb |