r g steak:install

This commit is contained in:
Akira Matsuda 2011-02-07 22:35:25 +09:00
parent 66217e5777
commit e9361b44cf
3 changed files with 19 additions and 0 deletions

View File

@ -0,0 +1,5 @@
require File.expand_path(File.dirname(__FILE__) + "/../spec_helper")
require "steak"
# Put your acceptance spec helpers inside /spec/acceptance/support
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each {|f| require f}

View File

@ -0,0 +1,5 @@
module HelperMethods
# Put helper methods you need to be available in all tests here.
end
RSpec.configuration.include HelperMethods, :type => :acceptance

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