aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/tests/testplugins/staticstuff/static
diff options
context:
space:
mode:
authorChristopher Allan Webber <cwebber@dustycloud.org>2013-05-22 14:20:44 -0500
committerChristopher Allan Webber <cwebber@dustycloud.org>2013-05-23 13:33:07 -0500
commit1b2cf1e823d6dfbb907449f8eab98b9011e9e48f (patch)
tree8d5f1b2b743ed18563ed7fcb640e053c282acabb /mediagoblin/tests/testplugins/staticstuff/static
parentdf69695d9e7753ba9030be9bee4208b0c2322f54 (diff)
downloadmediagoblin-1b2cf1e823d6dfbb907449f8eab98b9011e9e48f.tar.lz
mediagoblin-1b2cf1e823d6dfbb907449f8eab98b9011e9e48f.tar.xz
mediagoblin-1b2cf1e823d6dfbb907449f8eab98b9011e9e48f.zip
Simple "staticstuff" plugin for writing unit tests on plugin static asset linking.
It doesn't do much... it just has a static directory with a "bunnify" CSS file and has a unit test that returns a json encoded set of a staticdirect with both this plugin enabled and also with (theoretically) a file distributed with MediaGoblin (it isn't really, but in our case that doesn't matter.) Also set up the static_setup hook / PluginStatic object for this plugin; testing that with `./bin/gmg theme assetlink` seemed to work. (And argh, need to update that command name, I know.) This commit sponsored by Bradley Kuhn. Thanks bkuhn!
Diffstat (limited to 'mediagoblin/tests/testplugins/staticstuff/static')
-rw-r--r--mediagoblin/tests/testplugins/staticstuff/static/css/bunnify.css4
1 files changed, 4 insertions, 0 deletions
diff --git a/mediagoblin/tests/testplugins/staticstuff/static/css/bunnify.css b/mediagoblin/tests/testplugins/staticstuff/static/css/bunnify.css
new file mode 100644
index 00000000..1294ab8a
--- /dev/null
+++ b/mediagoblin/tests/testplugins/staticstuff/static/css/bunnify.css
@@ -0,0 +1,4 @@
+body {
+ background-color: #5edcf1;
+ color: #eb8add;
+} \ No newline at end of file