Sha256: 82187cd62073270e0bcd74de5e16de6aea76f98df32b625d66de14f5c4a9eef0

Contents?: true

Size: 228 Bytes

Versions: 3

Compression:

Stored size: 228 Bytes

Contents

require 'brown/test'

RSpec.configure do |c|
	c.after(:each) do
		ObjectSpace.each_object(Class).each do |klass|
			if klass != Brown::Agent and klass.ancestors.include?(Brown::Agent)
				klass.reset_memos
			end
		end
	end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
brown-2.2.2 lib/brown/rspec.rb
brown-2.2.1 lib/brown/rspec.rb
brown-2.2.0 lib/brown/rspec.rb