dupe 0.3.6 → 0.3.7
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/dupe/cucumber_hooks.rb +7 -9
- metadata +1 -1
data/lib/dupe/cucumber_hooks.rb
CHANGED
@@ -1,10 +1,8 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
end
|
1
|
+
After do |scenario| #:nodoc:
|
2
|
+
if Dupe.global_configuration.config[:debug] == true
|
3
|
+
ActiveResource::Connection.print_request_log
|
4
|
+
ActiveResource::Connection.flush_request_log
|
5
|
+
end
|
7
6
|
|
8
|
-
|
9
|
-
|
10
|
-
end
|
7
|
+
Dupe.flush
|
8
|
+
end
|