spec_helper.rb 405 B

1234567891011121314151617181920212223
  1. require 'simplecov'
  2. SimpleCov.start do
  3. add_filter 'spec'
  4. end
  5. require 'rspec'
  6. require 'rspec/its'
  7. require 'json/jwt'
  8. RSpec.configure do |config|
  9. config.expect_with :rspec do |c|
  10. c.syntax = [:should, :expect]
  11. end
  12. end
  13. def gcm_supported?
  14. RUBY_VERSION >= '2.0.0' && OpenSSL::OPENSSL_VERSION >= 'OpenSSL 1.0.1'
  15. end
  16. require 'helpers/sign_key_fixture_helper'
  17. require 'helpers/nimbus_spec_helper'