mirror of
https://github.com/Fishwaldo/huginn.git
synced 2025-03-15 19:31:26 +00:00
Fix dry runs controller spec
This commit is contained in:
parent
fbc892d9da
commit
3726709efd
1 changed files with 1 additions and 1 deletions
|
@ -125,7 +125,7 @@ describe Agents::DryRunsController do
|
|||
results = assigns(:results)
|
||||
expect(results[:events]).to be_a(Array)
|
||||
expect(results[:events].length).to eq(1)
|
||||
expect(results[:events].first['created_at']).to eq('Tue, Apr 11, 17')
|
||||
expect(results[:events].first['created_at']).to eq(Date.today.strftime('%a, %b %d, %y'))
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue