From 506159637da758f448818b834f8482238a9eb4eb Mon Sep 17 00:00:00 2001 From: GitLab Bot Date: Mon, 6 Jan 2020 15:07:26 +0000 Subject: Add latest changes from gitlab-org/gitlab@master --- spec/views/profiles/preferences/show.html.haml_spec.rb | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'spec/views') diff --git a/spec/views/profiles/preferences/show.html.haml_spec.rb b/spec/views/profiles/preferences/show.html.haml_spec.rb index 52933c42621..e3eb822b045 100644 --- a/spec/views/profiles/preferences/show.html.haml_spec.rb +++ b/spec/views/profiles/preferences/show.html.haml_spec.rb @@ -12,6 +12,16 @@ describe 'profiles/preferences/show' do allow(controller).to receive(:current_user).and_return(user) end + context 'behavior' do + before do + render + end + + it 'has option for Render whitespace characters in the Web IDE' do + expect(rendered).to have_unchecked_field('Render whitespace characters in the Web IDE') + end + end + context 'sourcegraph' do def have_sourcegraph_field(*args) have_field('user_sourcegraph_enabled', *args) -- cgit v1.2.3