n1k0/casperjs — pull request #197 by andrewchilds (2012-07-29 21:39:16+00:00)
Title: Add a couple assertions

This branch adds three new assertions to the Tester module:

```js
// Asserts that a given input field has the provided value.
test.assertField(input_name, expected_value, message)
```

```js
// Asserts that given text exists in the provided selector.
test.assertTextInSelector(selector, text, message)
```

```js
// Asserts that given text does not exist in the provided selector.
test.assertNoTextInSelector(selector, text, message)
```

Passing tests included.