Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

  • Loading branch information...
commit f5a66b669f0322383f446e11665391ae69a21064 1 parent 71b686a
@jordelver jordelver authored
Showing with 8 additions and 0 deletions.
  1. +8 −0 template.rb
View
8 template.rb
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.