acceptance_test 1.5.3 → 1.5.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/CHANGES +5 -1
- data/lib/acceptance_test/acceptance_test_helper.rb +1 -3
- data/lib/acceptance_test/screenshot_maker.rb +2 -2
- data/lib/acceptance_test/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
MGRkNjZjNDQ4MDEyOGU2YTc3MGU0MzQ3OWI4M2ZhYmVkZGQyNjBiOQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
OTdkOTFiMzJkOTc3YTMwMjQ4YTY4MWU5YWUwNzNlNDMzODc0ODk4MQ==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
N2EyMTZlM2U0MmY4NTU3Y2ZjNWQ1OGVjYWM0ZjFjMDMyZDJhYTAwNjMzOWFm
|
10
|
+
MzdmM2EzZGU2MTE4OTMxZDUyYTNjZjlkMjQ4Mzk1NWZhMzQ1ZGZiNWVkNzk2
|
11
|
+
N2U2NWRhNTM1Nzk5MTQ2NTEyMmUzMDAwNmEyYTNmZWVlMzdlMGE=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
ZTA5NTUzNmViMTYyMzc4ZmEyZjIwYzhhYTM4YjQ3MGEyMjY5MmY2Y2ZmYWU0
|
14
|
+
YTE0OWZiMTczMWQzNzJmMTM2NDhhYzk4N2QwMzJkNTVlMzVmYjM0MWNjZDdl
|
15
|
+
MDRlMGQ5YmQyMGNkNmRjOGUzMzU2Y2YzZjI5ODU4N2E3YWMwOWU=
|
data/CHANGES
CHANGED
@@ -25,10 +25,8 @@ class AcceptanceTestHelper
|
|
25
25
|
def register_turnip_steps path, class_name, tag, shared_group
|
26
26
|
require path
|
27
27
|
|
28
|
-
clazz = Object.const_get(class_name)
|
29
|
-
|
30
28
|
RSpec.configure do |config|
|
31
|
-
config.include
|
29
|
+
config.include class_name.constantize, tag => true
|
32
30
|
end
|
33
31
|
|
34
32
|
AcceptanceTest.instance.create_shared_context shared_group
|
@@ -2,7 +2,7 @@ class ScreenshotMaker
|
|
2
2
|
attr_reader :basedir
|
3
3
|
|
4
4
|
def initialize basedir
|
5
|
-
@basedir =
|
5
|
+
@basedir = basedir
|
6
6
|
end
|
7
7
|
|
8
8
|
def make page, options
|
@@ -10,7 +10,7 @@ class ScreenshotMaker
|
|
10
10
|
end
|
11
11
|
|
12
12
|
def screenshot_path options
|
13
|
-
"#{basedir}/#{screenshot_name(options)}"
|
13
|
+
File.expand_path("#{basedir}/#{screenshot_name(options)}")
|
14
14
|
end
|
15
15
|
|
16
16
|
def screenshot_name options
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: acceptance_test
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.5.
|
4
|
+
version: 1.5.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alexander Shvets
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-10-
|
11
|
+
date: 2014-10-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gemspec_deps_gen
|