spec/spec_helper.rb in ably-0.7.0 vs spec/spec_helper.rb in ably-0.7.1
- old
+ new
@@ -7,11 +7,14 @@
require 'webmock/rspec'
require 'ably'
require 'support/api_helper'
-require 'support/event_machine_helper'
require 'support/private_api_formatter'
require 'support/protocol_helper'
require 'support/random_helper'
require 'rspec_config'
+
+# EM Helper must be loaded after rspec_config to ensure around block occurs before RSpec retry
+require 'support/event_machine_helper'
+require 'support/rest_testapp_before_retry'