* Use a more classic style, and rely on a simple Hash instead of
stubbing a double;
* Improve examples to show the intent more clearly (like the use of a
symbol when querying).
Allow use of our test environment, with a mocked remote and convenient
methods to write more concise expectations.
#env, builds and returns a memoized test environment (with mocked
remote)
#output, returns env output as a string
#remote_fs, returns env remote fs
#expect_execution, setup a remote command execution expectation
* Fix coding standards;
* Simplify some expectations (eq instead of be matcher);
* Expect identity on block instead of calling;
* Change some before call as oneliners;
* Avoid shadowing variable names;
* Improve wording where needed.
* Allow no_* to be used for every tests in condition DSL:
condition { no_has_env :shell, '/bin/sh' };
* Modify Test constructor to accept negated: named argument, implement
#negated? and #pass?;
* Rename #success? to #verify in all test classes.