Sha256: f5ca9a1e27f130897519fafd48705b1983bf4636297ba739d00a7fe59a65c5cc

Contents?: true

Size: 488 Bytes

Versions: 10

Compression:

Stored size: 488 Bytes

Contents

# encoding: utf-8
proc { |p| $:.unshift(p) unless $:.any? { |lp| File.expand_path(lp) == p } }.call(File.expand_path('.', File.dirname(__FILE__)))
require 'helper'

# most everything about this is tested via the middlware in oauthenticator_test, so not a lot here 
describe OAuthenticator::SignedRequest do
  describe '#initialize' do
    it 'checks for unrecognized attributes' do
      assert_raises(ArgumentError) { OAuthenticator::SignedRequest.new(:foo => 'bar') }
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
oauthenticator-1.4.0 test/signed_request_test.rb
oauthenticator-1.3.5 test/signed_request_test.rb
oauthenticator-1.3.4 test/signed_request_test.rb
oauthenticator-1.3.3 test/signed_request_test.rb
oauthenticator-1.3.2 test/signed_request_test.rb
oauthenticator-1.3.1 test/signed_request_test.rb
oauthenticator-1.3.0 test/signed_request_test.rb
oauthenticator-1.2.0 test/signed_request_test.rb
oauthenticator-1.1.0 test/signed_request_test.rb
oauthenticator-1.0.0 test/signed_request_test.rb