Sha256: 933149127625e2107871f2717743e6029275827df9d934f1aef5a8fdad5d789b
Contents?: true
Size: 452 Bytes
Versions: 1
Compression:
Stored size: 452 Bytes
Contents
require 'spec_helper' require 'locale_app/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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
localeapp-0.0.7 | spec/locale_app/cli/update_spec.rb |