aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--README.md7
-rw-r--r--spec/alavetelitheme_spec.rb11
2 files changed, 18 insertions, 0 deletions
diff --git a/README.md b/README.md
index ebf8b4b..2662b4e 100644
--- a/README.md
+++ b/README.md
@@ -20,4 +20,11 @@ You can then switch the theme the application is using:
bundle exec rake themes:install
+## To run tests:
+
+To run tests, in the Alaveteli Rails.root (with this theme installed):
+
+ bundle exec rspec lib/themes/alavetelitheme/spec
+
+
Copyright (c) 2011 mySociety, released under the MIT license
diff --git a/spec/alavetelitheme_spec.rb b/spec/alavetelitheme_spec.rb
new file mode 100644
index 0000000..0bb0fab
--- /dev/null
+++ b/spec/alavetelitheme_spec.rb
@@ -0,0 +1,11 @@
+# If defined, ALAVETELI_TEST_THEME will be loaded in config/initializers/theme_loader
+ALAVETELI_TEST_THEME = 'alavetelitheme'
+require File.expand_path(File.join(File.dirname(__FILE__),'..','..','..','..','spec','spec_helper'))
+
+describe "testing the truth" do
+
+ it 'should be true' do
+ assert true
+ end
+
+end