Sha256: 1016408896232f12def0d7079a48e0a5bb9447d7854385cf396c2c143b39a303

Contents?: true

Size: 286 Bytes

Versions: 3

Compression:

Stored size: 286 Bytes

Contents

require 'spec_helper'

describe TrelloCli::Formatters::Base do
  let(:data) { ( { data: "test1234" } ) }
  let(:subject) { TrelloCli::Formatters::Base.new data }
  it "should create a formater and output the data as JSON" do
    subject.output("json").should == data.to_json
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
trello_cli-0.5.0 spec/formatters/base_spec.rb
trello_cli-0.4.1 spec/formatters/base_spec.rb
trello_cli-0.4.0 spec/formatters/base_spec.rb