test/lib/troo/cli/commands/refresh/all_test.rb in troo-0.0.10 vs test/lib/troo/cli/commands/refresh/all_test.rb in troo-0.0.11
- old
+ new
@@ -2,12 +2,12 @@
module Troo
module Commands
describe RefreshAll do
let(:described_class) { RefreshAll }
- let(:resource) do
+ let(:resource) {
[mock_trello_response('board_200.json', Troo::Remote::Board)]
- end
+ }
before { Retrieval::Remote.stubs(:fetch).returns(resource) }
describe '.dispatch' do
subject { described_class.dispatch }