mirror of
https://github.com/Fishwaldo/huginn.git
synced 2025-03-18 21:01:30 +00:00
Fix a spec for an error message
This commit is contained in:
parent
dd5d213508
commit
1f49085770
1 changed files with 1 additions and 1 deletions
|
@ -83,7 +83,7 @@ describe Agents::WebsiteAgent do
|
|||
'url' => { 'foo' => 'bar' },
|
||||
}
|
||||
expect(@checker).to_not be_valid
|
||||
expect(@checker.errors_on(:base)).to include("When type is json, all extractions must have a path attribute.")
|
||||
expect(@checker.errors_on(:base)).to include(/When type is json, all extractions must have a path attribute/)
|
||||
|
||||
@checker.options['type'] = 'json'
|
||||
@checker.options['extract'] = {
|
||||
|
|
Loading…
Add table
Reference in a new issue