From 064dd26df4eecd1761c1c72d8515ac12ce89f1c3 Mon Sep 17 00:00:00 2001 From: Ben Halpern Date: Fri, 29 May 2020 13:48:30 -0400 Subject: [PATCH] [deploy] Change text in failing PUBLISH test (#8162) --- spec/system/user_uses_the_editor_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/system/user_uses_the_editor_spec.rb b/spec/system/user_uses_the_editor_spec.rb index 2d6cf8fd3..da8080541 100644 --- a/spec/system/user_uses_the_editor_spec.rb +++ b/spec/system/user_uses_the_editor_spec.rb @@ -93,7 +93,7 @@ RSpec.describe "Using the editor", type: :system do fill_in "article-form-title", with: "This is a test" fill_in "tag-input", with: "What, Yo" fill_in "article_body_markdown", with: "Hello" - find("button", text: /\APUBLISH\z/).click + find("button", text: /\APublish\z/).click expect(page).to have_text("Hello") end end