diff options
author | Robert Speicher <robert@gitlab.com> | 2017-08-09 16:02:04 +0000 |
---|---|---|
committer | Robert Speicher <robert@gitlab.com> | 2017-08-09 16:02:04 +0000 |
commit | a0fa59f61e28837265f30cd35f265d9311df3f7a (patch) | |
tree | 9dd0340b0cbe134b2e1ee3c1fa21690a5a9dd15f /spec/models/issue_spec.rb | |
parent | 8fbbd3f27a5f69cfc9f4ddd05e46498c9e5ccf60 (diff) | |
parent | 04c328f923afdc4143b875b888235e563b540d90 (diff) | |
download | gitlab-ce-a0fa59f61e28837265f30cd35f265d9311df3f7a.tar.gz |
Merge branch 'rc/enable-the-Layout/SpaceBeforeBlockBraces-cop' into 'master'
Enable the Layout/SpaceBeforeBlockBraces cop
See merge request !13413
Diffstat (limited to 'spec/models/issue_spec.rb')
-rw-r--r-- | spec/models/issue_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/models/issue_spec.rb b/spec/models/issue_spec.rb index c055863d298..6d825ba68d1 100644 --- a/spec/models/issue_spec.rb +++ b/spec/models/issue_spec.rb @@ -350,7 +350,7 @@ describe Issue do subject { create(:issue, project: create(:project, :repository)) } let(:backref_text) { "issue #{subject.to_reference}" } - let(:set_mentionable_text) { ->(txt){ subject.description = txt } } + let(:set_mentionable_text) { ->(txt) { subject.description = txt } } end it_behaves_like 'a Taskable' do |