spec/har/archive_spec.rb in har-0.0.2 vs spec/har/archive_spec.rb in har-0.0.3

- old
+ new

@@ -15,9 +15,14 @@ it "saves the archive URI if created from a file" do ar = Archive.from_file(har_path("browser-blocking-time")) ar.uri.should_not be_nil ar.uri.should include("browser-blocking-time") end + + it "creates a single archive by merging the given paths" do + ar = Archive.by_merging good_hars.first(2) + ar.pages.size.should == 3 + end end context "fetching data" do let(:archive) { Archive.from_file har_path("browser-blocking-time") } \ No newline at end of file