Commit fe3b2e64 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Fix rubocop violation

Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent 1b860a4e
......@@ -39,7 +39,9 @@ describe MergeRequest do
describe '#rebase_in_progress?' do
# Create merge request and project before we stub file calls
before { subject }
before do
subject
end
it 'returns true when there is a current rebase directory' do
allow(File).to receive(:exist?).and_return(true)
......@@ -73,7 +75,9 @@ describe MergeRequest do
describe '#squash_in_progress?' do
# Create merge request and project before we stub file calls
before { subject }
before do
subject
end
it 'returns true when there is a current squash directory' do
allow(File).to receive(:exist?).and_return(true)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment