         md5: '3fb7c40c70b0ed19da713bd69ee12014'
       .system.copy
         target: "#{scratch}/a_target_file"
-        source: "#{__dirname}/../resources/a_dir/a_file"
+        source: "#{scratch}/a_file"
       , (err, {status}) ->
         status.should.be.false() unless err
       .promise()

    they 'with a filename inside a existing directory', (ssh) ->
      nikita
        ssh: ssh
      .system.copy
        source: "#{__dirname}/../resources/a_dir/a_file"
        target: "#{scratch}/a_target"
      , (err, {status}) ->
        status.should.be.true() unless err

      nikita
        ssh: ssh
      .file
        target: "#{scratch}/a_file"
        content: 'a content'
      .file
        target: "#{scratch}/a_target_file"
        content: 'Hello you'
      .system.copy
        target: "#{scratch}/a_target_file"
        source: "#{scratch}/a_file"
      , (err, {status}) ->
        status.should.be.true() unless err
      .file.assert
