spec/prerelease_spec.rb in xcode-install-2.0.6 vs spec/prerelease_spec.rb in xcode-install-2.0.7

- old
+ new

@@ -88,7 +88,14 @@ prereleases = parse_prereleases('20160705-alt') prereleases.count.should == 1 prereleases.first.should == Xcode.new_prerelease('8 beta 2', '/devcenter/download.action?path=/Developer_Tools/Xcode_8_beta_2/Xcode_8_beta_2.xip', nil) end + + it 'can parse prereleases from 20160922' do + prereleases = parse_prereleases('20160922') + + prereleases.count.should == 1 + prereleases.first.should == Xcode.new('8.1 beta', '/services-account/download?path=/Developer_Tools/Xcode_8.1_beta/Xcode_8.1_beta.xip', '/go/?id=xcode-8.1-beta-rn') + end end end