Sha256: 1781a3449d3b4750c05e5a4935ce3fd4b82782dfdacff3fe7870f0a9431a6895

Contents?: true

Size: 418 Bytes

Versions: 4

Compression:

Stored size: 418 Bytes

Contents

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

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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
moip2-0.1.4 spec/moip2/auth/oauth_spec.rb
moip2-0.1.3 spec/moip2/auth/oauth_spec.rb
moip2-0.1.1 spec/moip2/auth/oauth_spec.rb
moip2-0.1.0 spec/moip2/auth/oauth_spec.rb