In specs, expect curl to have the --fail param