gnawrnip 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/gnawrnip/ext/capybara/session.rb +8 -8
- data/lib/gnawrnip/version.rb +1 -1
- metadata +1 -1
@@ -8,13 +8,13 @@ module Capybara
|
|
8
8
|
:evaluate_script, :visit
|
9
9
|
]
|
10
10
|
|
11
|
-
SAVE_SCREENSHOT_METHODS.each do |method|
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
end
|
11
|
+
# SAVE_SCREENSHOT_METHODS.each do |method|
|
12
|
+
# alias_method "after_hook_#{method}".to_sym, method
|
13
|
+
#
|
14
|
+
# define_method method do |*args, &block|
|
15
|
+
# send("after_hook_#{method}", *args, &block)
|
16
|
+
# Gnawrnip::Animation.add_frame
|
17
|
+
# end
|
18
|
+
# end
|
19
19
|
end
|
20
20
|
end
|
data/lib/gnawrnip/version.rb
CHANGED