aboutsummaryrefslogtreecommitdiffstats
path: root/init.rb
diff options
context:
space:
mode:
Diffstat (limited to 'init.rb')
-rw-r--r--init.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/init.rb b/init.rb
index 0014c62..ad2cf40 100644
--- a/init.rb
+++ b/init.rb
@@ -1 +1,3 @@
-require "alavetelitheme.rb"
+if ENV["RAILS_ENV"] != "test" # Don't let the theme interfere with Alaveteli specs
+ require "alavetelitheme.rb"
+end