new stuff

This commit is contained in:
2012-11-25 15:41:02 +01:00
parent d4652bdf74
commit 545a2b66e6
7 changed files with 26 additions and 6 deletions
+4
View File
@@ -0,0 +1,4 @@
require 'spec_helper'
# Put your acceptance spec helpers inside spec/acceptance/support
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each {|f| require f}
+6
View File
@@ -0,0 +1,6 @@
module HelperMethods
# Put helper methods you need to be available in all acceptance specs here.
end
RSpec.configuration.include HelperMethods, :type => :acceptance
+9
View File
@@ -0,0 +1,9 @@
module NavigationHelpers
# Put helper methods related to the paths in your application here.
def homepage
"/"
end
end
RSpec.configuration.include NavigationHelpers, :type => :acceptance