Sha256: bb1cdd905db29d802b70423fc5bc96b6f4d1e64395eb3c451189534ca32de79f

Contents?: true

Size: 442 Bytes

Versions: 1

Compression:

Stored size: 442 Bytes

Contents

# -*- encoding : utf-8 -*-
require 'prosper/api'

require 'minitest/spec'
require 'minitest/autorun'

describe Prosper::Api do
  
  before do
    Prosper::Api.config do |config|
      config.url = 'http://localhost:3001'
      config.token = 'xyz123'
    end
  end

  it "deveria guardar os dados corretamente" do 

     Prosper::Api.config.url.must_equal 'http://localhost:3001'
     Prosper::Api.config.token.must_equal 'xyz123'

  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
prosper-api-0.1.0 test/api_config_test.rb