Commit bec67f51 authored by David Lucadou's avatar David Lucadou

Finished writing tests for user reports search

parent 9c37e23b
Pipeline #60425008 failed with stage
in 7 minutes and 51 seconds
......@@ -1167,7 +1167,7 @@ RSpec.describe "ChatLogsSearch", type: :request do
expect(page).to have_content("1 error prohibited your search from being executed")
expect(page).to have_content("Invalid format for ending time; parameter ignored (please use \"YYYY-MM-DD HH:mm\" in the future)")
end
it "execute an advanced search with a starting time less the ending time" do
it "execute an advanced search with an ending time less than the starting time" do
advanced_search_with(start_time: '2017-11-13 06:10', end_time: '2017-11-13 06:00')
expect(page).to have_current_path(advanced_search_chat_logs_path)
expect(page).to have_content("Failed to execute search, see errors below")
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment