Skip to content

Commit

Permalink
Merge pull request #34 from soulim/fix-spec
Browse files Browse the repository at this point in the history
Fix specs
  • Loading branch information
nov committed Sep 17, 2012
2 parents 62b127e + da3cd92 commit 89a7ff4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion spec/paypal/express/request_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion spec/paypal/nvp/request_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 89a7ff4

Please sign in to comment.