{"action":"opened","issue":{"url":"https://api.github.com/repos/teampoltergeist/poltergeist/issues/765","repository_url":"https://api.github.com/repos/teampoltergeist/poltergeist","labels_url":"https://api.github.com/repos/teampoltergeist/poltergeist/issues/765/labels{/name}","comments_url":"https://api.github.com/repos/teampoltergeist/poltergeist/issues/765/comments","events_url":"https://api.github.com/repos/teampoltergeist/poltergeist/issues/765/events","html_url":"https://github.com/teampoltergeist/poltergeist/issues/765","id":157290599,"number":765,"title":"undefined method resize for Capybara RackTest Driver ","user":{"login":"thejourneydude","id":2731207,"avatar_url":"https://avatars.githubusercontent.com/u/2731207?v=3","gravatar_id":"","url":"https://api.github.com/users/thejourneydude","html_url":"https://github.com/thejourneydude","followers_url":"https://api.github.com/users/thejourneydude/followers","following_url":"https://api.github.com/users/thejourneydude/following{/other_user}","gists_url":"https://api.github.com/users/thejourneydude/gists{/gist_id}","starred_url":"https://api.github.com/users/thejourneydude/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thejourneydude/subscriptions","organizations_url":"https://api.github.com/users/thejourneydude/orgs","repos_url":"https://api.github.com/users/thejourneydude/repos","events_url":"https://api.github.com/users/thejourneydude/events{/privacy}","received_events_url":"https://api.github.com/users/thejourneydude/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-05-27T21:05:46Z","updated_at":"2016-05-27T21:05:46Z","closed_at":null,"body":"I'm currently running Rails 4 with capybara (2.7.1) and poltergeist (1.9.0). In my `spec_helper.rb` I have\r\n\r\n```\r\nconfig.before(:each, js: true) do\r\n  Capybara.page.driver.resize(\"1300\",\"1240\")\r\nend\r\n```\r\n\r\nHowever, when I run the test I receive:\r\n\r\n```\r\nNoMethodError:\r\n        undefined method `resize' for #<Capybara::RackTest::Driver:0x000001095772e0>\r\n```\r\n\r\nHow do I set the default window size before my feature tests begin. I see there is a method called `resize_window_to` but the first argument is unclear in the documentation.\r\n"}}
{"actor":{"display_login":"thejourneydude"}}