Commit 8cfc4869 authored by paz's avatar paz Committed by georg

Don't load the filter files manually, save headaches in packaging.

Closes #371
parent e7d7368e
Pipeline #22586 passed with stages
in 9 minutes and 30 seconds
require "spec_helper"
# make sure we have the filters loaded, as they will be loaded lazily within the code
Dir[File.join(File.dirname(__FILE__),'../../../lib/schleuder/filters/*/*.rb')].each do |file|
require file
end
describe Schleuder::Filters do
before do
# Make sure we have the filters loaded, as they will be loaded lazily within the code.
list = create(:list)
Schleuder::Filters::Runner.new(list, 'pre').filters
Schleuder::Filters::Runner.new(list, 'post').filters
end
context '.fix_exchange_messages' do
it "fixes pgp/mime-messages that were mangled by Exchange" do
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment