spec/moip2/auth/oauth_spec.rb in moip2-0.1.4 vs spec/moip2/auth/oauth_spec.rb in moip2-1.0.0
- old
+ new
@@ -1,9 +1,9 @@
describe Moip2::Auth::OAuth do
- let(:oauth_with_text) { described_class.new "OAuth d63tz2xwyu0ewrembove4j5cbv2otpd" }
- let(:oauth_without_text) { described_class.new "d63tz2xwyu0ewrembove4j5cbv2otpd" }
+ 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 d63tz2xwyu0ewrembove4j5cbv2otpd" }
- it { expect(oauth_without_text.header).to eq "OAuth d63tz2xwyu0ewrembove4j5cbv2otpd" }
+ it { expect(oauth_with_text.header).to eq "OAuth 9fdc242631454d4c95d82e27b4127394_v2" }
+ it { expect(oauth_without_text.header).to eq "OAuth 9fdc242631454d4c95d82e27b4127394_v2" }
end
end