diff options
author | James Lopez <james@jameslopez.es> | 2016-11-07 17:43:55 +0300 |
---|---|---|
committer | James Lopez <james@jameslopez.es> | 2016-11-17 10:22:57 +0300 |
commit | 7ac7cfeb75242c4e3c5ec967425aaf598f879033 (patch) | |
tree | dac69ff109c999959e6cc1793d2d6572ebabc568 /spec/lib/gitlab/cycle_analytics | |
parent | 192918cde949c8399d7d526a638f6e09f9fb7a5a (diff) |
refactored and added missing spec to light URL builder
Diffstat (limited to 'spec/lib/gitlab/cycle_analytics')
-rw-r--r-- | spec/lib/gitlab/cycle_analytics/events_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/lib/gitlab/cycle_analytics/events_spec.rb b/spec/lib/gitlab/cycle_analytics/events_spec.rb index 29cc3011542..0fb6a62f10d 100644 --- a/spec/lib/gitlab/cycle_analytics/events_spec.rb +++ b/spec/lib/gitlab/cycle_analytics/events_spec.rb @@ -196,7 +196,7 @@ describe Gitlab::CycleAnalytics::Events do end it "has the author's name" do - expect(subject.review_events.first['author_name']).to eq(context.author.name) + expect(subject.review_events.first['author_name']).to eq(MergeRequest.first.author.name) end end |