summaryrefslogtreecommitdiff
path: root/spec/lib/bitbucket_server/representation/pull_request_comment_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/lib/bitbucket_server/representation/pull_request_comment_spec.rb')
-rw-r--r--spec/lib/bitbucket_server/representation/pull_request_comment_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/lib/bitbucket_server/representation/pull_request_comment_spec.rb b/spec/lib/bitbucket_server/representation/pull_request_comment_spec.rb
index db43e990812..aa3eddf305a 100644
--- a/spec/lib/bitbucket_server/representation/pull_request_comment_spec.rb
+++ b/spec/lib/bitbucket_server/representation/pull_request_comment_spec.rb
@@ -3,7 +3,7 @@
require 'spec_helper'
describe BitbucketServer::Representation::PullRequestComment do
- let(:activities) { JSON.parse(fixture_file('importers/bitbucket_server/activities.json'))['values'] }
+ let(:activities) { Gitlab::Json.parse(fixture_file('importers/bitbucket_server/activities.json'))['values'] }
let(:comment) { activities.second }
subject { described_class.new(comment) }