travis_github_deployer 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
@@ -34,9 +34,9 @@ class TravisGithubDeployer
|
|
34
34
|
|
35
35
|
load_configuration
|
36
36
|
clone_destination_repository
|
37
|
+
copy_files_in_destination_repository
|
37
38
|
change_current_directory_to_cloned_repository
|
38
39
|
prepare_credentials_based_on_environment_variables
|
39
|
-
copy_files_in_destination_repository
|
40
40
|
commit_and_push_files
|
41
41
|
end
|
42
42
|
|
@@ -101,7 +101,8 @@ describe "travis github deployer" do
|
|
101
101
|
context "Actually committing the files" do
|
102
102
|
|
103
103
|
it "can add, commit and push up the files" do
|
104
|
-
|
104
|
+
# subject.should_receive(:files_to_deploy).and_return({ "dir/onefile" => "destonefile", "twofile" => "dir/desttwofile"})
|
105
|
+
# @git.should_receive(:add).with()
|
105
106
|
subject.commit_and_push_files
|
106
107
|
end
|
107
108
|
end
|