spec/lib/brief/repository_spec.rb in brief-1.9.14 vs spec/lib/brief/repository_spec.rb in brief-1.10.0

- old
+ new

@@ -29,11 +29,11 @@ query = repository.where(state:"active", type: "epic") expect(query.first.type).to eq("epic") end it "finds the last document matching a query" do - query = repository.where(state:"active", type:"user_story") - expect(query.last.type).to eq("user_story") + query = repository.where(state:"active", type:"feature") + expect(query.last.type).to eq("feature") end it "respects the ordering" do types = repository.order_by(:type).map(&:type) expect(types.first).to eq("concept")