The bill that was passed was a military housing bill (IIRC) that had passed in the House. When it went to the Senate, the Senate gutted it, inserted the 0bamacare crap, passed it, & sent it back to the House who passed that.
It may be TECHNICALLY kosher to pass bills this way, but it is CORRUPT.
I don’t see what is “corrupt” about the process. Bills get passed in Washington all the time that way.