test/lib/troo/cli/commands/refresh/all_test.rb in troo-0.0.12 vs test/lib/troo/cli/commands/refresh/all_test.rb in troo-0.0.13

- old
+ new

@@ -11,9 +11,11 @@ before { Retrieval::Remote.stubs(:fetch).returns(resource) } describe '.dispatch' do subject { described_class.dispatch } + it { subject.must_be_instance_of(String) } + context 'when all the resources are refreshed' do it 'returns a polite message' do subject.must_match(/All local data refreshed/) end end