spec/spec_helper.rb in ably-rest-0.7.3 vs spec/spec_helper.rb in ably-rest-0.7.5
- old
+ new
@@ -13,9 +13,14 @@
require 'support/api_helper'
require 'support/private_api_formatter'
require 'support/protocol_helper'
require 'support/random_helper'
+# Load in all shared behaviours
+Dir.glob(File.expand_path("../lib/submodules/ably-ruby/spec/shared/*.rb", File.dirname(__FILE__))).each do |file|
+ require file
+end
+
require 'rspec_config'
def require_tests_from(path, options = {})
ignore_files = options.fetch(:ignore_file_macher, nil)
Dir.glob(File.expand_path("../lib/submodules/ably-ruby/spec/#{path}/*.rb", File.dirname(__FILE__))).each do |file|