-
Notifications
You must be signed in to change notification settings - Fork 523
Path Helpers Failing when email is sent before call (CCI) #880
Copy link
Copy link
Open
Description
I have a feature spec that calls
visit company.decorate.h.new_company_path
This works as expected on my local machine but fails in Circle CI with:
NoMethodError:
undefined method `new_company_path' for #<#<Class:0x00007f0ce1116710>:0x00007f0ce5926f28>
Did you mean? new_company_url
Is there a reason this would fail in Circle CI but not locally? This is the only spec out of about 150 that is failing, so I'm not inclined to think it's a general configuration issue.
For full context here is the whole spec. Is it because there isn't a view context yet, with nothing yet rendered? If so why does this work locally but not on CCI?
describe 'Contact Details Panel' do
specify 'errors show where they belong when the data is bad' do
company = create :company
visit company.decorate.h.new_company_path
find('.sticky-entity-header .btn', text: /save/i).click
expect_async_user_message("couldn't be saved", :danger)
expect(find('.help-block.warning-for-company-name').text).to include("can't be blank")
end
endReactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels