diff options
author | Mike Greiling <mike@pixelcog.com> | 2017-10-19 17:59:49 +0300 |
---|---|---|
committer | Mike Greiling <mike@pixelcog.com> | 2017-10-19 17:59:49 +0300 |
commit | b673fcc14fceb7553a3e2ddf375ad45b93106ea9 (patch) | |
tree | a0819294851fcc5cc4b4e386ef88998a9c9dda9c /spec/features/issues | |
parent | 5e63566bf1fde65de8894f3fd588846853d139d9 (diff) |
clear localstorage between tests
Diffstat (limited to 'spec/features/issues')
-rw-r--r-- | spec/features/issues/markdown_toolbar_spec.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/features/issues/markdown_toolbar_spec.rb b/spec/features/issues/markdown_toolbar_spec.rb index 6869c2c869d..c50a676d959 100644 --- a/spec/features/issues/markdown_toolbar_spec.rb +++ b/spec/features/issues/markdown_toolbar_spec.rb @@ -11,6 +11,10 @@ feature 'Issue markdown toolbar', :js do visit project_issue_path(project, issue) end + after do + execute_script("localStorage.clear();"); + end + it "doesn't include first new line when adding bold" do find('#note-body').native.send_keys('test') find('#note-body').native.send_key(:enter) |