Permalink
Browse files

Merge pull request #34 from soulim/fix-spec

Fix specs
  • Loading branch information...
nov committed Sep 17, 2012
2 parents 62b127e + da3cd92 commit 89a7ff488905f408c3f10a80d832b0a5b2a06a2c
Showing with 4 additions and 2 deletions.
  1. +3 −1 spec/paypal/express/request_spec.rb
  2. +1 −1 spec/paypal/nvp/request_spec.rb
@@ -129,7 +129,9 @@ def post_with_logging(method, params)
{
:solution_type => :SOLUTIONTYPE,
:landing_page => :LANDINGPAGE,
- :email => :EMAIL
+ :email => :EMAIL,
+ :brand => :BRANDNAME,
+ :locale => :LOCALECODE
}.each do |option_key, param_key|
it "should support #{option_key} option" do
expect do
@@ -107,7 +107,7 @@
)
end
- it 'should raise Paypal::Exception::APIError' do
+ it 'should raise Paypal::Exception::HttpError' do
expect do
instance.request :SetExpressCheckout
end.to raise_error(Paypal::Exception::HttpError)

0 comments on commit 89a7ff4

Please sign in to comment.