diff --git a/spec/system/notes_spec.rb b/spec/system/notes_spec.rb index 5f670b84..c5f2481f 100644 --- a/spec/system/notes_spec.rb +++ b/spec/system/notes_spec.rb @@ -25,7 +25,7 @@ it 'displays an error' do visit "rooms/#{room.id}" click_on "Add Note" - expect(page).to have_content("Content can't be blank") + expect(page).to have_content("Content can't be blank").or(have_content("Please fill out this field")) end end