Sha256: 7ba2944ff5eb90aedc627ce9e616caf14e464c2f8509c0d1dcec815429ab808f

Contents?: true

Size: 661 Bytes

Versions: 1

Compression:

Stored size: 661 Bytes

Contents

require "webmock/rspec"
require "bundler/setup"
require "ribose"
require "ribose/rspec"

Dir["./spec/support/**/*.rb"].sort.each { |file| require file }

RSpec.configure do |config|
  # Enable flags like --only-failures and --next-failure
  config.example_status_persistence_file_path = ".rspec_status"

  config.expect_with :rspec do |c|
    c.syntax = :expect
  end

  config.before :all do
    Ribose.configure do |ribose_config|
      ribose_config.user_email = ENV["RIBOSE_USER_EMAIL"] || "RIBOSE_USER_EMAIL"
      ribose_config.user_password = ENV["RIBOSE_USER_PASSWORD"] || "SECRET_PASS"
      ribose_config.client = Ribose::Client.new
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ribose-0.5.0 spec/spec_helper.rb