diff options
author | Ken <ken.ding@mail.com> | 2018-02-21 22:09:15 +1030 |
---|---|---|
committer | Ken <ken.ding@mail.com> | 2018-02-21 22:09:15 +1030 |
commit | c5e385bd5a0274e4d40e647eadcb22043f0f6e92 (patch) | |
tree | a9511c00db844be6ad459c0547c445e947275584 /spec | |
parent | 216d21c5496fb7e7666c3c3e7ebbdff1e8fd0493 (diff) | |
download | gitlab-ce-c5e385bd5a0274e4d40e647eadcb22043f0f6e92.tar.gz |
36847 - update toml-rb to 1.0.0
36847 - add changelog
Diffstat (limited to 'spec')
-rw-r--r-- | spec/support/test_env.rb | 2 | ||||
-rw-r--r-- | spec/tasks/gitlab/gitaly_rake_spec.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/spec/support/test_env.rb b/spec/support/test_env.rb index c275522159c..01321989f01 100644 --- a/spec/support/test_env.rb +++ b/spec/support/test_env.rb @@ -1,5 +1,5 @@ require 'rspec/mocks' -require 'toml' +require 'toml-rb' module TestEnv extend self diff --git a/spec/tasks/gitlab/gitaly_rake_spec.rb b/spec/tasks/gitlab/gitaly_rake_spec.rb index b37d6ac831f..1f4053ff9ad 100644 --- a/spec/tasks/gitlab/gitaly_rake_spec.rb +++ b/spec/tasks/gitlab/gitaly_rake_spec.rb @@ -132,7 +132,7 @@ describe 'gitlab:gitaly namespace rake task' do expect { run_rake_task('gitlab:gitaly:storage_config')} .to output(expected_output).to_stdout - parsed_output = TOML.parse(expected_output) + parsed_output = TomlRB.parse(expected_output) config.each do |name, params| expect(parsed_output['storage']).to include({ 'name' => name, 'path' => params['path'] }) end |