r g steak:install
This commit is contained in:
parent
66217e5777
commit
e9361b44cf
|
@ -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}
|
|
@ -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
|
|
@ -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
|
Loading…
Reference in New Issue