Sha256: 4766da405c206862575b8241f90c2da50148f1fe9befb4ea53873972840d77c7

Contents?: true

Size: 282 Bytes

Versions: 5

Compression:

Stored size: 282 Bytes

Contents

require "spec_helper"

describe Paymill do
  describe ".request" do
    context "given no api key exists" do
      it "raises an authentication error" do
        expect { Paymill.request(:get, "clients", {}) }.to raise_error(Paymill::AuthenticationError)
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
paymill-0.2.0 spec/paymill_spec.rb
paymill-0.1.0 spec/paymill_spec.rb
paymill-0.0.3 spec/paymill_spec.rb
paymill-0.0.2 spec/paymill_spec.rb
paymill-0.0.1 spec/paymill_spec.rb