spec/lib/brief/document_spec.rb in brief-1.5.2 vs spec/lib/brief/document_spec.rb in brief-1.6.0

- old
+ new

@@ -38,10 +38,10 @@ it "references the parent folder name" do expect(sample.parent_folder_name).to eq("epics") end it "can resolve the model type using the parent folder name if possible" do - expect(Brief::Model.for_folder_name(sample.parent_folder_name)).to eq(Brief::Epic) + expect(Brief::Model.for_folder_name(sample.parent_folder_name).type_alias).to eq("epic") end context "Content Extraction" do it "extracts content from a css selector" do extracted = sample.extract_content(:args => ["h1:first-of-type"])