I have the following spec:
it "deletes post", :js => true do  ... ... page.status_code.should = '404'  end    The page.status_code line is giving me this error:
Capybara::NotSupportedByDriverError   How do I check the page's status code?
Capybara is a web-based test automation software that simulates scenarios for user stories and automates web application testing for behavior-driven software development. It is written in the Ruby programming language. Capybara.
Capybara is an integration testing tool for rack based web applications. It simulates how a user would interact with a website.
As an aside. This line
page.status_code.should = '404'   Should be
page.status_code.should == 404   This worked for me with capybara-webkit.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With