Sha256: 47a6b5b15e4de1129494e68327544979775fddf5155e20625f98174d6f39f817

Contents?: true

Size: 296 Bytes

Versions: 3

Compression:

Stored size: 296 Bytes

Contents

require 'spec_helper'

describe TrelloCli::Requests::ListBoards do
  before do
    Trello.should_receive(:configure)
  end

  it "should list the lists for given board" do
    Trello::Board.stub :all => ['123']
    lb = TrelloCli::Requests::ListBoards.new
    lb.list.should == ['123']
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
trello_cli-0.0.3 spec/requests/list_boards_spec.rb
trello_cli-0.0.2 spec/requests/list_boards_spec.rb
trello_cli-0.0.1 spec/requests/list_boards_spec.rb