Permalink
Browse files

Make fixture file actually human-editable.

  • Loading branch information...
ubernostrum committed Feb 8, 2012
1 parent e6c4881 commit 789db0b3c3d8764eb6f1b8699f1d79e7ad390ba4
Showing with 66 additions and 1 deletion.
  1. +66 −1 soapbox/fixtures/soapboxtest.json
@@ -1 +1,66 @@
-[{"pk": 1, "model": "soapbox.message", "fields": {"url": "", "message": "This is a global message.", "is_global": true, "is_active": true}}, {"pk": 2, "model": "soapbox.message", "fields": {"url": "/foo/", "message": "This message appears on /foo/ and on /foo/bar/.", "is_global": false, "is_active": true}}, {"pk": 3, "model": "soapbox.message", "fields": {"url": "/foo/bar/", "message": "This message appears only on /foo/bar/.", "is_global": false, "is_active": true}}, {"pk": 4, "model": "soapbox.message", "fields": {"url": "/bar/", "message": "This message appears only on /bar/.", "is_global": false, "is_active": true}}, {"pk": 5, "model": "soapbox.message", "fields": {"url": "", "message": "This is an inactive global message.", "is_global": true, "is_active": false}}, {"pk": 6, "model": "soapbox.message", "fields": {"url": "/foo/bar/", "message": "This is an inactive message which would, if active, appear on /foo/bar/.", "is_global": false, "is_active": false}}]
+[
+ {"pk": 1,
+ "model": "soapbox.message",
+ "fields": {
+ "url": "",
+ "message": "This is a global message.",
+ "is_global": true,
+ "is_active": true
+ }
+ },
+ {"pk": 2,
+ "model": "soapbox.message",
+ "fields": {
+ "url": "/foo/",
+ "message": "This message appears on /foo/ and on /foo/bar/.",
+ "is_global": false,
+ "is_active": true
+ }
+ },
+ {"pk": 3,
+ "model":
+ "soapbox.message",
+ "fields": {
+ "url": "/foo/bar/",
+ "message": "This message appears only on /foo/bar/.",
+ "is_global": false,
+ "is_active": true
+ }
+ },
+ {"pk": 4,
+ "model": "soapbox.message",
+ "fields": {
+ "url": "/bar/",
+ "message": "This message appears only on /bar/.",
+ "is_global": false,
+ "is_active": true
+ }
+ },
+ {"pk": 5,
+ "model": "soapbox.message",
+ "fields": {
+ "url": "",
+ "message": "This is an inactive global message.",
+ "is_global": true,
+ "is_active": false
+ }
+ },
+ {"pk": 6,
+ "model": "soapbox.message",
+ "fields": {
+ "url": "/foo/bar/",
+ "message": "This is an inactive message which would, if active, appear on /foo/bar/.",
+ "is_global": false,
+ "is_active": false
+ }
+ },
+ {"pk": 7,
+ "model": "soapbox.message",
+ "fields": {
+ "url": "/foo/bar/",
+ "message": "This is a message which appears on <a href=\"/foo/bar/\">/foo/bar/</a> and contains HTML.",
+ "is_global": false,
+ "is_active": true
+ }
+ }
+]

0 comments on commit 789db0b

Please sign in to comment.