summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorDouglas Barbosa Alexandre <dbalexandre@gmail.com>2019-07-24 17:45:01 +0000
committerDouglas Barbosa Alexandre <dbalexandre@gmail.com>2019-07-24 17:45:01 +0000
commit6a5d2df3ee53df8d7df84a46c408e4c1fa341f0b (patch)
tree17411ea4b3c37fe0702db02677a3067b85005b66 /spec
parentd86ef0b00f9a21d07db513d3e4e9311add25075c (diff)
parentd7eadcc0f30d3bd005f9dfb160dd0a460b3a8f56 (diff)
downloadgitlab-ce-6a5d2df3ee53df8d7df84a46c408e4c1fa341f0b.tar.gz
Merge branch 'sh-peek-cleanup' into 'master'
Use a base class for Peek views See merge request gitlab-org/gitlab-ce!31108
Diffstat (limited to 'spec')
-rw-r--r--spec/lib/peek/views/rugged_spec.rb3
1 files changed, 0 insertions, 3 deletions
diff --git a/spec/lib/peek/views/rugged_spec.rb b/spec/lib/peek/views/rugged_spec.rb
index 715b360953c..8bf996fc6bc 100644
--- a/spec/lib/peek/views/rugged_spec.rb
+++ b/spec/lib/peek/views/rugged_spec.rb
@@ -27,9 +27,6 @@ describe Peek::Views::Rugged, :request_store do
args: [project.repository.raw, 'refs/heads/master'],
duration: 0.456)
- expect(subject.duration).to be_within(0.00001).of(1.234)
- expect(subject.calls).to eq(2)
-
results = subject.results
expect(results[:calls]).to eq(2)
expect(results[:duration]).to eq('1234.00ms')