Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tag: v2.0.0.beta.8
Fetching contributors…

Cannot retrieve contributors at this time

29 lines (23 sloc) 0.565 kb
require 'active_support/concern'
require 'test/unit/assertions'
module Rspec
module Rails
module SetupAndTeardownAdapter
def setup(*methods)
methods.each {|method| before { send method } }
end
def teardown(*methods)
methods.each {|method| after { send method } }
end
end
module TestUnitAssertionAdapter
extend ActiveSupport::Concern
included do
include Test::Unit::Assertions
before do
@_result = Struct.new(:add_assertion).new
end
end
end
end
end
Jump to Line
Something went wrong with that request. Please try again.