Wade Miley wiggled out of a couple of jams while pitching into the seventh inning and the Arizona Diamondbacks snapped the Los Angeles Dodgers' five-game winning streak with a 5-1 victory Tuesday night.