Sha256: 6d8e69c89bfc4e3ca747c18cde5f977c269f17bc5fa6a002875c2766668130ff
Contents?: true
Size: 425 Bytes
Versions: 8
Compression:
Stored size: 425 Bytes
Contents
require 'spec_helper' describe TrelloCli::Requests::ListLists do before do Trello.should_receive(:configure) end it "should list the lists for given board" do trello_board_mock = double 'new' Trello::Board.should_receive(:new).with('id' => '123'). and_return trello_board_mock trello_board_mock.stub :lists => ['321'] subject.list(:board_id => '123').should == ['321'] end end
Version data entries
8 entries across 8 versions & 1 rubygems