spec/spec_helper.rb in transcriber-0.0.1 vs spec/spec_helper.rb in transcriber-0.0.2
- old
+ new
@@ -1,21 +1,42 @@
-require 'transcriber'
\ No newline at end of file
+$:.push '../lib'
+
+require 'transcriber'
+require 'ostruct'
+require 'json'
+require 'stringio'
+require 'active_support/core_ext/hash/indifferent_access'
+
+require 'support/examples'
+require 'support/out'
+
+RSpec.configure do |config|
+ config.before(:each) do
+ [:Example, :ExampleChild].each do |klass|
+ Object.send(:remove_const, klass) if Object.const_defined? klass
+ end
+ end
+end
+
+include Transcriber
+include Output
+include Examples