cucumber-sentences 0.0.5 → 0.0.6

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,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f07226f445425c2678fefbb1cb0fce78b5d0c477
4
- data.tar.gz: 4d1672b5d3cbc2f0f3dbbe2c800303fb8ba1f0a1
3
+ metadata.gz: aac970b4446e114b146442f3d7089cd90ab52c78
4
+ data.tar.gz: 98b3fe557e0c1a6873e78a57bddc319acc22b7b9
5
5
  SHA512:
6
- metadata.gz: 0db56a4e50699b93643df69b2941009992630eb0e4ac2bb22a210e1e952266472b38861af09c48eb79e620847e6087fd19a8cbd0f212931fa80f39f544c0b1e4
7
- data.tar.gz: 4eb114c3736053d9c01f8edfde6f69db52c1dcb21e37b2d74a70fd47401d84dfd0dcfb36282e274b4ba258b48a05450a9019828731837c2b69c36fc614e61803
6
+ metadata.gz: c7ecb8c6c93255d0fb7b283996c5e9961cd9afd36067507e9529dfab637ad7f524834be37c16114a4147c9569fb5e7a49d0b0e84eefa4d2a3b18147bbcf1490e
7
+ data.tar.gz: 904d24fcaf5e592aefedd864cc9caa574bb1b2d68d547026d454ef35e2b006f6c24778e8c544f937ab107b3ced1c78bb24102910559d693876458835503d74d9
data/README.md CHANGED
@@ -13,7 +13,7 @@ gem "cucumber-sentences"
13
13
  Add in your `features/step_definitions/imports.rb`
14
14
 
15
15
  ````
16
- ENV.CUCUMBER_ROOT = File.absolute_path('../', File.dirname(__FILE__));
16
+ ENV['CUCUMBER_ROOT'] = File.absolute_path('../', File.dirname(__FILE__));
17
17
  require "cucumber-sentences"
18
18
  `````
19
19
 
@@ -2,7 +2,7 @@ $:.push File.expand_path("../lib", __FILE__)
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = 'cucumber-sentences'
5
- s.version = '0.0.5'
5
+ s.version = '0.0.6'
6
6
  s.license = 'MIT'
7
7
  s.summary = "Pre-built sentences for your cucumber tests"
8
8
  s.description = "Pre-built sentences for your cucumber tests"
@@ -10,7 +10,7 @@ end
10
10
 
11
11
 
12
12
  Given(/^I change the domain to "([^"]*)"$/) do | domain_name |
13
- require File.join(ENV.CUCUMBER_ROOT,'support/helpers/domain')
13
+ require File.join(ENV['CUCUMBER_ROOT'],'support/helpers/domain')
14
14
  domain = Domain.get(domain_name)
15
15
 
16
16
  unless domain
@@ -21,7 +21,7 @@ Given(/^I change the domain to "([^"]*)"$/) do | domain_name |
21
21
  end
22
22
 
23
23
  Given(/^I am on the "([^"]*)" of (.+) "([^"]*)"$/) do | page_name, type, identifier |
24
- require File.join(ENV.CUCUMBER_ROOT, 'support/helpers/'+ type)
24
+ require File.join(ENV['CUCUMBER_ROOT'], 'support/helpers/'+ type)
25
25
  typeClassName = type.sub(/^(\w)/) {|s| s.capitalize}
26
26
 
27
27
  clazz = Object.const_get(typeClassName)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cucumber-sentences
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - DonkeyCode