calebhearth / formulaic

Simplify form filling with Capybara
MIT License
552 stars 29 forks source link

Capybara deprecation errors #73

Closed mjankowski closed 5 years ago

mjankowski commented 5 years ago

Starting with a recent capybara release, using formulaic kicks out deprecation warnings. Example from the formulaic feature spec:

Locator #<Formulaic::Label:0x007fc83c29c4b0 @model_name=:user, @attribute=:name, @action=:new> must be an instance of String or Symbol. This will raise an error in a future version of Capybara.
calebhearth commented 5 years ago

Ok I’ll look into it. Hopefully we can make a small change like calling to_s on ourselves.

calebhearth commented 5 years ago

https://github.com/thoughtbot/formulaic/pull/74