Sha256: 04ed86ff96b866e25d1b5e4661d3073622ffe30811697947eb5f0284592a8857

Contents?: true

Size: 437 Bytes

Versions: 22

Compression:

Stored size: 437 Bytes

Contents

require File.join( File.dirname(__FILE__), '../lib/blackbook.rb' )
require File.join( File.dirname(__FILE__), 'test_helper.rb' )
require 'test/unit'
require 'mocha'

class TestBlackbookExporterBase < Test::Unit::TestCase

  include TestHelper

  def test_export
    exporter = Blackbook::Exporter::Base.new
    contacts = [{ :name => 'Test', :email => 'test@domain.com' }]
    assert_equal contacts, exporter.export(contacts)
  end

end

Version data entries

22 entries across 22 versions & 5 rubygems

Version Path
blackbook-1.0.0 test/test_blackbook_exporter_base.rb
blackbook-1.0.4 test/test_blackbook_exporter_base.rb