Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Log Filter Options for Savon #33

Merged
merged 5 commits into from
Aug 27, 2018

Conversation

lbblock2
Copy link
Contributor

@lbblock2
Copy link
Contributor Author

@jheth Are you the main maintainer of the Soapforce gem? How do I get a review for my PR? Thanks!

@@ -21,6 +21,6 @@ Gem::Specification.new do |spec|
spec.add_runtime_dependency "savon", ">= 2.3.0", '< 3.0.0'

spec.add_development_dependency 'rspec', '>= 2.14.0', '< 4.0.0'
spec.add_development_dependency 'webmock', '>= 1.17.0', '< 2.0.0'
spec.add_development_dependency 'webmock', '2.3.2'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why pin to a specific version? Can we do >= 2.3.2?

@@ -319,7 +319,7 @@

describe "#update" do
before(:each) do
@body = "<tns:update><tns:sObjects><ins0:type>Opportunity</ins0:type><ins0:Id>003ABCDE</ins0:Id><tns:Name>SOAPForce Opportunity</tns:Name><tns:CloseDate>2013-08-12</tns:CloseDate><tns:StageName>Closed Won</tns:StageName></tns:sObjects></tns:update>"
@body = "<tns:update><tns:sObjects><ins0:type>Opportunity</ins0:type><tns:Id>003ABCDE</tns:Id><tns:Name>SOAPForce Opportunity</tns:Name><tns:CloseDate>2013-08-12</tns:CloseDate><tns:StageName>Closed Won</tns:StageName></tns:sObjects></tns:update>"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I didn't expect the namespace to change. Any idea why it did?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, not really, but it looks like a Savon issue savonrb/savon#830

@@ -18,7 +18,7 @@
stub = stub_login_request({with_body: body})
stub.to_return(:status => 200, :body => fixture("login_response")) #, :headers => {})

subject.login(username: 'testing', password: 'password_and_token')
subject.login(username: 'testing', password: 'password_and_token', filters: [])
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Adding filters here doesn't look right. It's not used by the login method, it's only used from initialize.

@lbblock2
Copy link
Contributor Author

@jheth Hi, any update on this? Thanks!

@jheth
Copy link
Contributor

jheth commented Aug 27, 2018

Hey @lbblock2 , sorry for the delay. Forgot to click merge and then realized I don't have the right permissions. I've contacted the org to help me out.

@jheth jheth merged commit 44a49dd into congaengr:master Aug 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants