Sha256: 4c35bdffdc0ab1e6cc04b8d22f3b3497b8b2194eba4e8d9e9a04f5ebeed2a6a8

Contents?: true

Size: 434 Bytes

Versions: 3

Compression:

Stored size: 434 Bytes

Contents

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

class TestGraybookExporterBase < Test::Unit::TestCase

  include TestHelper

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

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
graybook-1.0.24 test/test_graybook_exporter_base.rb
graybook-1.0.23 test/test_graybook_exporter_base.rb
graybook-1.0.22 test/test_graybook_exporter_base.rb