Robert-W / grunt-ftp-push

Deploy files to an FTP server as part of your Grunt workflow.
MIT License
39 stars 14 forks source link

Unit Tests #10

Closed Robert-W closed 9 years ago

Robert-W commented 10 years ago

Implement Unit Testing to ensure future updates don't break already created features.

Robert-W commented 10 years ago

test can push files correctly when cwd in the files object is '.', './', 'test', 'test/myDir' cwd should be removed from path when pushed through, so if dest is 'root' and cwd is 'test/myDir', and a file is .gitignore, the result should be 'root/.gitignore' and not 'root/test/myDir/.gitignore'

Robert-W commented 10 years ago

any directories in 'dest' should be created if they are not already present.

Robert-W commented 9 years ago

In branch 0.4.0 and soon to be released.