Sha256: bfe495c13ac309ecb328ccc86fff940cfe31a65f8237d109596f8722368b8647
Contents?: true
Size: 451 Bytes
Versions: 16
Compression:
Stored size: 451 Bytes
Contents
require 'spec_helper' require 'localeapp/cli/update' describe Localeapp::CLI::Update, "#execute" do before do @output = StringIO.new @updater = Localeapp::CLI::Update.new(@output) end it "creates a Poller and calls poll! on it" do with_configuration do poller = Localeapp::Poller.new poller.should_receive(:poll!) Localeapp::Poller.should_receive(:new).and_return(poller) @updater.execute end end end
Version data entries
16 entries across 16 versions & 1 rubygems