calabash/calabash-ios — pull request #399 by jmoody (2014-07-03 11:12:18+00:00)
Title: WIP reset app and sim content and settings

***WIP DO NOT MERGE - testing is incomplete***

## motivation

Users are reporting RESET_BETWEEN_SCENARIOS is not working. I determined that it is working, but that there are some subtle problems in the `reset_app_jail`.

This work also prepares for iOS 8/Xcode 6.

## todo

- [ ] @krukow needs to review proposed deprecated reset_app_jail (replaced with reset_app_sandbox)

## testing

Using https://github.com/calabash/calabash-ios-example/pull/5

```
# get the test project
git clone git://github.com/jmoody/calabash-ios-example.git
git checkout -b jmoody-demo/reset-btw-scenarios master
git pull git@github.com:jmoody/calabash-ios-example.git demo/reset-btw-scenarios

1. $ cd calabash-ios-example
2. $ ./run-tests.sh
3. optionally enable more simulators in run-tests.sh
4. optionally change the ruby version
```

- [x] cucumber for ruby 1.9.3, 2.1* for all simulators
- [ ] cucumber for ruby 1.9.3, 2.1* for devices [1]
- [x] rspec for ruby 2.1.2
- [ ] xtc test [1]

[1] smoke tests; these changes are simulator only

## links

* http://stackoverflow.com/questions/24493634/reset-ios-app-in-calabash-ios/24521084
* https://github.com/calabash/calabash-ios/issues/376