34 lines
471 B
Ruby
34 lines
471 B
Ruby
|
|
#!/usr/bin/env ruby
|
||
|
|
|
||
|
|
BEGIN {
|
||
|
|
require 'pathname'
|
||
|
|
basedir = Pathname.new( __FILE__ ).dirname.parent.parent
|
||
|
|
|
||
|
|
libdir = basedir + "lib"
|
||
|
|
|
||
|
|
$LOAD_PATH.unshift( libdir ) unless $LOAD_PATH.include?( libdir )
|
||
|
|
}
|
||
|
|
|
||
|
|
begin
|
||
|
|
require 'spec/runner'
|
||
|
|
require 'spec/lib/helpers'
|
||
|
|
require 'ezmlm/list'
|
||
|
|
rescue LoadError
|
||
|
|
unless Object.const_defined?( :Gem )
|
||
|
|
require 'rubygems'
|
||
|
|
retry
|
||
|
|
end
|
||
|
|
raise
|
||
|
|
end
|
||
|
|
|
||
|
|
|
||
|
|
describe Ezmlm::List do
|
||
|
|
include Ezmlm::SpecHelpers
|
||
|
|
|
||
|
|
|
||
|
|
it "is well-tested"
|
||
|
|
|
||
|
|
end
|
||
|
|
|
||
|
|
|