From 3b5ff1a47e6b9f00baa01d0c7389453b24f15483 Mon Sep 17 00:00:00 2001 From: Olly Smith Date: Mon, 22 Oct 2012 07:12:44 +0100 Subject: [PATCH] Update spec for new exception. --- spec/lib/line_spec.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/lib/line_spec.coffee b/spec/lib/line_spec.coffee index bb5569c..24f603c 100644 --- a/spec/lib/line_spec.coffee +++ b/spec/lib/line_spec.coffee @@ -28,7 +28,7 @@ describe 'Morris.Line', -> ykeys: ['y'] labels: ['dontcare'] ) - fn.should.throw(/Graph placeholder not found./) + fn.should.throw(/Graph container element not found/) it 'should make point styles customizable', -> my_data = [{x: 1, y: 1}, {x: 2, y: 2}]