Sha256: 35901b78ffcbdb512290befe53d66a18ea6623c84b7f0c2c31ec7b5ea02863e8
Contents?: true
Size: 521 Bytes
Versions: 13
Compression:
Stored size: 521 Bytes
Contents
require File.expand_path("../../spec_helper", __FILE__) module HAR describe Page do context "data" do let(:page) { Archive.from_file(google_path).pages.first } it "has entries" do page.entries.size.should == 5 page.entries.each { |e| e.pageref.should == page.id } end it "has a title" do page.title.should == 'Google' end it "has a PageTimings instance" do page.timings.should be_kind_of(PageTimings) end end end # Page end # HAR
Version data entries
13 entries across 13 versions & 1 rubygems