Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 11 lines (10 sloc) 0.23 kb
d98f888 @justinko ExampleGroup helpers to create a dummy class.
justinko authored
1 module ExampleGroupHelpers
2 def setup_thing(&block)
3 before do
4 Object.const_set(:Thing, Class.new(&block))
5 end
6
7 after do
8 Object.send(:remove_const, :Thing) if Object.const_defined?(:Thing)
9 end
10 end
11 end
Something went wrong with that request. Please try again.