Commit 46906ac3 authored by Oswaldo Ferreira's avatar Oswaldo Ferreira Committed by Fatih Acet

Testing: Commenting after hook for waiting complete request

parent e840f900
...@@ -38,12 +38,12 @@ Spinach.hooks.before_run do ...@@ -38,12 +38,12 @@ Spinach.hooks.before_run do
include FactoryGirl::Syntax::Methods include FactoryGirl::Syntax::Methods
end end
Spinach.hooks.after_feature do |feature_data| # Spinach.hooks.after_feature do |feature_data|
if feature_data.scenarios.flat_map(&:tags).include?('javascript') # if feature_data.scenarios.flat_map(&:tags).include?('javascript')
include WaitForRequests # include WaitForRequests
wait_for_requests_complete # wait_for_requests_complete
end # end
end # end
module StdoutReporterWithScenarioLocation module StdoutReporterWithScenarioLocation
# Override the standard reporter to show filename and line number next to each # Override the standard reporter to show filename and line number next to each
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment