Commit 7f263ca1 authored by Alfredo Sumaran's avatar Alfredo Sumaran

Use variables instead of let

parent 0392dffd
require 'spec_helper'
feature 'Toggle Whitespace Changes', js: true, feature: true do
let(:merge_request) { create(:merge_request) }
let(:project) { merge_request.source_project }
before do
login_as :admin
merge_request = create(:merge_request)
project = merge_request.source_project
visit diffs_namespace_project_merge_request_path(project.namespace, project, merge_request)
end
......
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