capybara-screenshot 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/capybara-screenshot.rb +1 -1
- data/lib/capybara-screenshot/version.rb +1 -1
- metadata +4 -4
data/lib/capybara-screenshot.rb
CHANGED
@@ -22,7 +22,7 @@ if defined?(RSpec)
|
|
22
22
|
require 'capybara-screenshot/rspec'
|
23
23
|
RSpec.configure do |config|
|
24
24
|
config.after do
|
25
|
-
Capybara::Screenshot::RSpec.screen_shot_and_save_page
|
25
|
+
Capybara::Screenshot::RSpec.screen_shot_and_save_page if example.exception
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: capybara-screenshot
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 19
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 0.1.
|
9
|
+
- 4
|
10
|
+
version: 0.1.4
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Matthew O'Riordan
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-11-
|
18
|
+
date: 2011-11-21 00:00:00 +00:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|