From f13cd5afda005dd363d20976372c3284bc022b8b Mon Sep 17 00:00:00 2001 From: Paul Belanger Date: Mon, 11 May 2015 14:50:10 -0400 Subject: [PATCH] Add test coverage for rows Signed-off-by: Paul Belanger --- tests/schema/fixtures/dashboard-0002.json | 15 +++++++++++++++ tests/schema/fixtures/dashboard-0002.yaml | 5 +++++ 2 files changed, 20 insertions(+) create mode 100644 tests/schema/fixtures/dashboard-0002.json create mode 100644 tests/schema/fixtures/dashboard-0002.yaml diff --git a/tests/schema/fixtures/dashboard-0002.json b/tests/schema/fixtures/dashboard-0002.json new file mode 100644 index 0000000..7140aab --- /dev/null +++ b/tests/schema/fixtures/dashboard-0002.json @@ -0,0 +1,15 @@ +{ + "dashboard": { + "rows": [ + { + "collapse": false, + "editable": true, + "height": "250px", + "panels": [], + "showTitle": false, + "title": "New row" + } + ], + "title": "New dashboard" + } +} diff --git a/tests/schema/fixtures/dashboard-0002.yaml b/tests/schema/fixtures/dashboard-0002.yaml new file mode 100644 index 0000000..6871c7a --- /dev/null +++ b/tests/schema/fixtures/dashboard-0002.yaml @@ -0,0 +1,5 @@ +dashboard: + title: New dashboard + rows: + - title: New row + height: 250px