Sha256: 65b2195283ed59c8e7577ecef4417530bc3400afd5eb8309b397a1560bfa613e

Contents?: true

Size: 1.19 KB

Versions: 1

Compression:

Stored size: 1.19 KB

Contents

#                                                                          
# File 'filter_base_spec.rb' created on 18 feb 2008 at 14:48:04.                    
# See 'dokkit.rb' or +LICENSE+ for licence information.                      
#                                                                          
# (c)2008 Andrea Fazzi <andrea.fazzi@alca.le.it> (and contributors). 
#                                                                          
# To execute this spec run:                                            
#                                                                          
# spec spec/filter_base_spec.rb                                                  
#                                                                          


$LOAD_PATH.unshift(File.expand_path(File.join(File.dirname(__FILE__),'../lib')))

require 'rubygems'
require 'spec'
require 'dokkit'
require 'dokkit/filters/base'
require File.dirname(__FILE__) + '/spec_helper.rb'

describe Dokkit::Filters::Base do
  before do
    @filter = Dokkit::Filters::Base.new
  end
  it 'should define an instance method to transform the given text' do
    @result = @filter.filter('text to transform').should be_nil
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
dokkit-0.3.0 spec/filter_base_spec.rb