[deploy] Change text in failing PUBLISH test (#8162)

This commit is contained in:
Ben Halpern 2020-05-29 13:48:30 -04:00 committed by GitHub
parent 9de9c57c63
commit 064dd26df4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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