Sha256: 4836ccdbcdf5a5c6e1434c46bc90ac38c40c644214983bfe7c42a744f33ac108

Contents?: true

Size: 760 Bytes

Versions: 2

Compression:

Stored size: 760 Bytes

Contents

require File.dirname(__FILE__) + '/../test_helper'

class ChocolateDiscoTest < Test::Unit::TestCase
  
  context 'bin/chocolate_disco' do
    
    should 'have tests' do
      flunk('TODO')
    end
    
  end
  
  context 'ChocolateDisco' do
    
    should 'have tests' do
      flunk('TODO')
    end
    
    ["application/vnd.visio", "application/pdf", "text/html", "text/xml", "application/vnd.ms-excel", "application/vnd.openxmlformats ", "text", "application/rtf", "application/vnd.ms-powerpoint", "application/msword"].each do |mime|
      
      should "support #{mime}" do
        assert(ChocolateDisco.supported?(:mime => mime))
      end
      
    end # [mime, ...].each do |mime|
    
  end
  
end # class ChocolateDiscoTest < Test::Unit::TestCase

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
hirobumi-chocolate_disco-jruby-0.1.2 test/unit/chocolate_disco_test.rb
hirobumi-chocolate_disco-jruby-0.1.3 test/unit/chocolate_disco_test.rb