{"action":"closed","issue":{"url":"https://api.github.com/repos/jnicklas/capybara/issues/1554","labels_url":"https://api.github.com/repos/jnicklas/capybara/issues/1554/labels{/name}","comments_url":"https://api.github.com/repos/jnicklas/capybara/issues/1554/comments","events_url":"https://api.github.com/repos/jnicklas/capybara/issues/1554/events","html_url":"https://github.com/jnicklas/capybara/issues/1554","id":97157151,"number":1554,"title":"comparison of Float with String failed (ArgumentError)","user":{"login":"andrewhavens","id":446392,"avatar_url":"https://avatars.githubusercontent.com/u/446392?v=3","gravatar_id":"","url":"https://api.github.com/users/andrewhavens","html_url":"https://github.com/andrewhavens","followers_url":"https://api.github.com/users/andrewhavens/followers","following_url":"https://api.github.com/users/andrewhavens/following{/other_user}","gists_url":"https://api.github.com/users/andrewhavens/gists{/gist_id}","starred_url":"https://api.github.com/users/andrewhavens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrewhavens/subscriptions","organizations_url":"https://api.github.com/users/andrewhavens/orgs","repos_url":"https://api.github.com/users/andrewhavens/repos","events_url":"https://api.github.com/users/andrewhavens/events{/privacy}","received_events_url":"https://api.github.com/users/andrewhavens/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-07-24T22:09:41Z","updated_at":"2015-07-30T19:33:26Z","closed_at":"2015-07-30T19:33:26Z","body":"Not sure when this started happening, but I'm getting this error message when trying to check for content on the page:\r\n\r\n    click_on 'A link or button'\r\n    expect(page).to have_content 'whatever'\r\n\r\n    #> comparison of Float with String failed (ArgumentError)\r\n\r\nIt used to be that Capybara would provide a helpful error message including the content that was found on the page. I'm using Capybara/Cucumber/RSpec to test an Ember.js app so maybe there is a bug in this particular combination."}}