Sha256: 1248227d71541ea44bb475d2b5c71a510ec7eca86980814c9ced716305088b29

Contents?: true

Size: 616 Bytes

Versions: 1

Compression:

Stored size: 616 Bytes

Contents

begin
  require 'webrat'
rescue LoadError
  # optional. Really should be phased out completely.
end

module Rtml::Test::Spec
  class RtmlExampleGroup < (defined?(Test::Unit::TestCase) ? Test::Unit::TestCase : Object)
    extend Spec::Example::ExampleGroupMethods
    include Spec::Example::ExampleMethods
    include(Webrat::Matchers) if defined?(Webrat)
    include(Rtml::Rules::DomValidation)
    include Rtml::Test::Spec::Matchers
  end
end

Spec::Runner.configure do |config|
  config.include Rtml::Test::Spec::Matchers
end

Spec::Example::ExampleGroupFactory.register(:rtml, Rtml::Test::Spec::RtmlExampleGroup)

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rtml-2.0.4 lib/rtml/test/spec.rb