Sha256: 6e5714193b9b21e15de8676bcbb778d0acced04e424f4eec68c958dd5ac80f62
Contents?: true
Size: 597 Bytes
Versions: 22
Compression:
Stored size: 597 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 TestBlackbookImporterBase < Test::Unit::TestCase include TestHelper def test_service_name assert_equal "Base", Blackbook::Importer::Base.new.service_name end def test_import importer = Blackbook::Importer::Base.new importer.expects(:fetch_contacts!) options = {:foo => 'bar'} assert_nothing_raised do importer.import(options) end assert_equal options, importer.options end end
Version data entries
22 entries across 22 versions & 5 rubygems