Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Siegfriedt <marc@techaccelerator.com>2016-08-30 02:58:32 +0300
committerMarc Siegfriedt <marc@techaccelerator.com>2016-10-05 20:42:52 +0300
commita1ee8cf5ad07256807f15590bdb5f56152d55553 (patch)
tree9f90bc8f0d3c5d65e9b8778bc9d80e4ecd8855dd /spec/services/files
parent4bc27cd17b304abce01fad1fce56fce32a4ee099 (diff)
multi-file commit
add docs and tests - add additional validation allow move without content updated response
Diffstat (limited to 'spec/services/files')
-rw-r--r--spec/services/files/update_service_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/services/files/update_service_spec.rb b/spec/services/files/update_service_spec.rb
index d019e50649f..d3c37c7820f 100644
--- a/spec/services/files/update_service_spec.rb
+++ b/spec/services/files/update_service_spec.rb
@@ -41,7 +41,7 @@ describe Files::UpdateService do
it "returns a hash with the :success status " do
results = subject.execute
- expect(results).to match({ status: :success })
+ expect(results[:status]).to match(:success)
end
it "updates the file with the new contents" do
@@ -69,7 +69,7 @@ describe Files::UpdateService do
it "returns a hash with the :success status " do
results = subject.execute
- expect(results).to match({ status: :success })
+ expect(results[:status]).to match(:success)
end
it "updates the file with the new contents" do