▽Diary ●11/18 21:23 Apache/2.2.22 (Ubuntu) Server at cl.aist-nara.ac.jp Port 80
▽gaku ●11/02 17:20 Capybara - undefined method `visit' I’d like to test a web server behavior using Capybara. The first spec below didn’t work with undefined method ’visit’ error. (By the way, the spec doesn’t have any test.) # this won’t work describe ”first test” do it ”returns something” do visit ”/nonexisting” puts page.status_code end end Failures: 1) first test returns something Failure/Error: visit ”/non