spec/page_spec.rb in spidr-0.3.2 vs spec/page_spec.rb in spidr-0.4.0

- old
+ new

@@ -15,11 +15,11 @@ it "should be OK" do @page.should be_ok end it "should have a content-type" do - @page.content_type.should =~ /text\/html/ + @page.content_type.should include('text/html') end it "should be a html page" do @page.should be_html end @@ -52,10 +52,10 @@ it "should be OK" do @page.should be_ok end it "should have a content-type" do - @page.content_type.should =~ /text\/plain/ + @page.content_type.should include('text/plain') end it "should be a txt page" do @page.should be_txt end