Sha256: f19c7b0ab91a2076816b2a3bb999d7405a26395746daa4a5ecdbf45539762e8f

Contents?: true

Size: 753 Bytes

Versions: 1

Compression:

Stored size: 753 Bytes

Contents

require "webmock/rspec"
require "ribose/cli"
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.include Ribose::ConsoleHelper

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

  config.before :all do
    Ribose.configure do |ribose_config|
      ribose_config.api_host = ENV["RIBOSE_API_HOST"] || "www.ribose.com"
      ribose_config.user_email = ENV["RIBOSE_USER_EMAIL"] || "user@ribose.com"
      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-cli-0.5.0 spec/spec_helper.rb