lib/spaceship/tunes/app_version.rb in spaceship-0.13.1 vs lib/spaceship/tunes/app_version.rb in spaceship-0.14.0

- old
+ new

@@ -564,10 +564,10 @@ def check_preview_screenshot_resolution(preview_screenshot_path, device) is_portrait = Utilities.portrait?(preview_screenshot_path) expected_resolution = TunesClient.video_preview_resolution_for(device, is_portrait) actual_resolution = Utilities.resolution(preview_screenshot_path) orientation = is_portrait ? "portrait" : "landscape" - raise "Invalid #{orientation} screenshot resolution for device #{device}. Should be #{expected_resolution}" unless (actual_resolution == expected_resolution) + raise "Invalid #{orientation} screenshot resolution for device #{device}. Should be #{expected_resolution}" unless actual_resolution == expected_resolution end def raw_data_details raw_data["details"]["value"] end