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

834013 - return releaseVer as part of consumer json #551

Merged
merged 1 commit into from
Sep 6, 2012

Conversation

thomasmckay
Copy link
Member

No description provided.

@@ -410,7 +410,7 @@
@sys.stub(:guest => 'false', :guests => [])
Resources::Candlepin::Consumer.should_receive(:update).once.with(uuid, {}, nil, nil, nil, "1.1", nil, anything).and_return(true)
put :update, :id => uuid, :releaseVer => "1.1"
response.body.should == @sys.to_json
Copy link
Member

Choose a reason for hiding this comment

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

why do we remove this assertion?

Copy link
Member Author

Choose a reason for hiding this comment

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

The 'releaseVer' value is added to the system json in the call and is not part of the system itself.

Copy link
Member

Choose a reason for hiding this comment

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

but shouldn't the API call still return the system object as JSON which I would imagine the should is for?

@mccun934
Copy link
Member

mccun934 commented Sep 6, 2012

ACK

thomasmckay pushed a commit that referenced this pull request Sep 6, 2012
834013 - return releaseVer as part of consumer json
@thomasmckay thomasmckay merged commit ac5c977 into Katello:master Sep 6, 2012
thomasmckay pushed a commit that referenced this pull request Apr 27, 2013
834013 - return releaseVer as part of consumer json
@thomasmckay thomasmckay deleted the 834013-releaseVer branch December 3, 2013 19:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants