isKindOfClass:[NSString class]]) is true) failed • OCHamcrest •Expected "NG", but was "OK" •Expected an instance of NSString, but was __NSCFNumber instance <100> •Expecta •expected: NG, got: OK •expected: a kind of NSString, got: an instance of __NSCFNumber, which is not a kind of NSString
SCHEME = 'Tests' DESTINATION = 'platform=iOS Simulator,name=iPhone Retina (3.5-inch),OS=7.0' COMMAND = "xcodebuild test -scheme #{SCHEME} -destination '#{DESTINATION}'" def run_all system(COMMAND) end def run_on_changes(paths) run_all end end end ! guard :inline_guard do watch /.*\.[mh]$/ end