calabash/calabash-android — pull request #95 by leviwilson (2012-08-15 22:20:56+00:00)
Title: Spinner get selected item text

Behavior
------------
Sends back the selected item text for a Spinner based on id.
* If nothing is selected, returns a blank string

Additional Changes
---------------------------
Added another helper method to `TestHelpers.getViewById` that takes an expected class type.

Usage
---------
```java
final EditText foundTextView = TestHelpers.getViewById("id_argument", EditText.class);
```

If the returned view is not and `EditText`, a `RuntimeException` is thrown indicating that the view isn't of the expected type.