Permalink
Browse files

Include Noodall::Permalinks helpers so we can use them in tests

  • Loading branch information...
1 parent 71b686a commit f5a66b669f0322383f446e11665391ae69a21064 @jordelver jordelver committed Dec 1, 2011
Showing with 8 additions and 0 deletions.
  1. +8 −0 template.rb
View
@@ -122,3 +122,11 @@ def anybody_signed_in?
prepend_file 'features/support/env.rb', 'ENV["RAILS_ROOT"] ||= File.expand_path(File.dirname(__FILE__) + "/../../test/dummy")'
gsub_file 'features/support/env.rb', ':transaction', ':truncation'
+
+create_file 'features/support/noodall.rb' do
+ <<-RUBY
+# Load Noodall specific stuff
+require 'noodall/permalinks'
+World(Noodall::Permalinks)
+ RUBY
+end

0 comments on commit f5a66b6

Please sign in to comment.