'should set env.command to any string arg, if given'

@with_fakes
def test_should_set_env_command_to_string_arg(self):

    name = 'foo'
    def command():
        eq_(env.command, name)
    task = Fake(callable=True, expect_call=True).calls(command)
    with patched_context(fabric.state, 'commands', {name: task}):
        execute(name)
