acceptance_test 1.5.3 → 1.5.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- M2U3NTJkNjk5MTVlNDQ2Y2RhNTc4ZGE5MmY5Mzk3Nzc2Njc1NTk0Mg==
4
+ MGRkNjZjNDQ4MDEyOGU2YTc3MGU0MzQ3OWI4M2ZhYmVkZGQyNjBiOQ==
5
5
  data.tar.gz: !binary |-
6
- NTNhODgyMjgwZDU3OWVlMjZlNzA1YWFlNTgwZDE3ZmExNmU4YWRhYQ==
6
+ OTdkOTFiMzJkOTc3YTMwMjQ4YTY4MWU5YWUwNzNlNDMzODc0ODk4MQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- ZjhhOGRkOWZkZTcyOTc5YjNhOGFlODgyNmQzNWQxNzRkYTM1MDkyYzI2MThh
10
- NGU0YjJjMDNlYjA3NmMxM2I1ZDk0OGMwM2Q2OTczZDcxZWQ5ZjI2OGZkZGMx
11
- MGZkNTkyYmMzOTNiZWQ3YzVjM2FiZGUwYTNhMjkyNDBkZWYxNWY=
9
+ N2EyMTZlM2U0MmY4NTU3Y2ZjNWQ1OGVjYWM0ZjFjMDMyZDJhYTAwNjMzOWFm
10
+ MzdmM2EzZGU2MTE4OTMxZDUyYTNjZjlkMjQ4Mzk1NWZhMzQ1ZGZiNWVkNzk2
11
+ N2U2NWRhNTM1Nzk5MTQ2NTEyMmUzMDAwNmEyYTNmZWVlMzdlMGE=
12
12
  data.tar.gz: !binary |-
13
- MTIxNTBlNjBlYmEwYjcxYjRhN2I1YzYzNWYyM2VkNTBjMTUwZjc4ODk5N2Jl
14
- NjU1MWEzYWJhZDBiYTMwOGM3YjY2NzQ2MTg0NjU5MjYxNGMyNmFlYzQyNzYy
15
- YmI0ODljM2NmMWVjYmU3MzE3MTg1MTI3NzY5OTk1YzZmZmM5Mjc=
13
+ ZTA5NTUzNmViMTYyMzc4ZmEyZjIwYzhhYTM4YjQ3MGEyMjY5MmY2Y2ZmYWU0
14
+ YTE0OWZiMTczMWQzNzJmMTM2NDhhYzk4N2QwMzJkNTVlMzVmYjM0MWNjZDdl
15
+ MDRlMGQ5YmQyMGNkNmRjOGUzMzU2Y2YzZjI5ODU4N2E3YWMwOWU=
data/CHANGES CHANGED
@@ -127,4 +127,8 @@
127
127
 
128
128
  == Version 1.5.3
129
129
 
130
- * Bug fix
130
+ * Bug fix
131
+
132
+ == Version 1.5.4
133
+
134
+ * Bug fixes
@@ -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 clazz, tag => true
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 = File.expand_path(basedir.to_s)
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
@@ -1,3 +1,3 @@
1
1
  class AcceptanceTest
2
- VERSION = "1.5.3"
2
+ VERSION = "1.5.4"
3
3
  end
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.3
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-06 00:00:00.000000000 Z
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