mechanize.cr/spec/mechanize_spec.cr

14 lines
272 B
Crystal

require "./spec_helper"
require "webmock"
WebMock.stub(:any, "example.com")
describe Mechanize do
# TODO: Write tests
it "works" do
response = HTTP::Client.get("http://example.com")
response.body.should eq ""
response.status_code.should eq 200
end
end