Sha256: f4ff5d90f5be60f017f6693693fa852630b09d0fbe4e3c878c35fc75ef6e15a0

Contents?: true

Size: 434 Bytes

Versions: 5

Compression:

Stored size: 434 Bytes

Contents

describe Moip2::Auth::OAuth do
  let(:oauth_with_text) { described_class.new "OAuth 9fdc242631454d4c95d82e27b4127394_v2" }
  let(:oauth_without_text) { described_class.new "9fdc242631454d4c95d82e27b4127394_v2" }

  describe ".header" do
    it { expect(oauth_with_text.header).to eq "OAuth 9fdc242631454d4c95d82e27b4127394_v2" }
    it { expect(oauth_without_text.header).to eq "OAuth 9fdc242631454d4c95d82e27b4127394_v2" }
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
moip2-1.3.1 spec/moip2/auth/oauth_spec.rb
moip2-1.2.1 spec/moip2/auth/oauth_spec.rb
moip2-1.2.0 spec/moip2/auth/oauth_spec.rb
moip2-1.1.0 spec/moip2/auth/oauth_spec.rb
moip2-1.0.0 spec/moip2/auth/oauth_spec.rb