spec/spec_helper.rb in transcriber-0.0.3 vs spec/spec_helper.rb in transcriber-0.0.4
- old
+ new
@@ -8,15 +8,19 @@
require 'support/examples'
require 'support/out'
RSpec.configure do |config|
- config.before(:each) do
+ config.before 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
+
+Transcriber.configure do |c|
+ c.host = 'http://example.com'
+end