diff options
author | Sean McGivern <sean@gitlab.com> | 2016-05-12 18:06:14 +0300 |
---|---|---|
committer | Sean McGivern <sean@gitlab.com> | 2016-05-17 15:23:17 +0300 |
commit | a9977f2b7a39d57d0633714616b4653aca103993 (patch) | |
tree | 40a8cb2fad0e80a01b056afe8be70c2b82f33b5e /spec/lib | |
parent | 28eea9bdfd0b28ad044f76bd4fcf988329ca9921 (diff) |
Syntax-highlight diffs in push emails
Based on:
https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/151
Diffstat (limited to 'spec/lib')
-rw-r--r-- | spec/lib/gitlab/email/message/repository_push_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/lib/gitlab/email/message/repository_push_spec.rb b/spec/lib/gitlab/email/message/repository_push_spec.rb index 7d6cce6daec..c19f33e2224 100644 --- a/spec/lib/gitlab/email/message/repository_push_spec.rb +++ b/spec/lib/gitlab/email/message/repository_push_spec.rb @@ -57,7 +57,7 @@ describe Gitlab::Email::Message::RepositoryPush do describe '#diffs' do subject { message.diffs } - it { is_expected.to all(be_an_instance_of Gitlab::Git::Diff) } + it { is_expected.to all(be_an_instance_of Gitlab::Diff::File) } end describe '#diffs_count' do |