Ifd_Automation 2.3 → 2.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 53904b49fcb6b5c053dea1040b8aa2c48e110be7
4
- data.tar.gz: cc7f0b2f3a1f8dec98bab1dcdf9b40bcd998de3a
3
+ metadata.gz: c131081b7802a991c90b90514bd11afa74e9f2cc
4
+ data.tar.gz: 8731f67ebf3ded3070b7cedad55bb752aa940981
5
5
  SHA512:
6
- metadata.gz: 417b97c43287525ac30ef2ac0bf2da2161cd9d62452ebbc62fe38a292754f00a89e121f21b8a40f3ed90b94ab345e63d67689394b39555e88d8b8671cefb532e
7
- data.tar.gz: d5144b28aa8e82422525dc49092ed265582d47cf129842aede166a68f1a46f1603d7b758c1559768cb7b561def11773ab5aea86a4a154cf7fc1e261454a573e3
6
+ metadata.gz: 76dfdb6206a5e495f4620634b8452128fa4503dae989032b12bee5a1aa8ae375016611d72d21dfe5c592d0da98f0be4d5edaec7d1570e862552adac248f3d4d1
7
+ data.tar.gz: 5d1a209eec045b56544a41e2333cc21208e8062b7a4afba29dc178262c7f0ce7207965aa1795aa833ba3dcfa6e45e37979955a7b22fce8df5e95a668110a96b0
@@ -42,7 +42,7 @@ When /^I send a REST (GET|PUT|POST|DELETE) request (?:for|to) "([^"]*)"(?: with
42
42
  elsif (payload && request_type == 'get')
43
43
  @response = Request.get(url, {body: payload, headers: @header})
44
44
  elsif (payload && request_type == 'post' && @header.nil?)
45
- @response = Request.get(url, {body: payload})
45
+ @response = Request.post(url, {body: payload})
46
46
  elsif (payload && request_type == 'post')
47
47
  @response = Request.post(url, {body: payload, headers: @header})
48
48
  elsif (payload && request_type == 'put' && @header.nil?)
@@ -1,3 +1,3 @@
1
1
  module IfdAutomation
2
- VERSION = "2.3"
2
+ VERSION = "2.4"
3
3
  end
@@ -12,11 +12,7 @@ require 'capybara/cucumber'
12
12
  require 'cucumber'
13
13
  require 'yaml'
14
14
  require 'selenium-webdriver'
15
- # require 'Ifd_Automation'
16
-
17
- require File.expand_path('../lib/Ifd_Automation/REST_steps.rb')
18
- require File.expand_path('../lib/Ifd_Automation/dynamic_store_vavue_steps.rb')
19
- require File.expand_path('../lib/Ifd_Automation/web_steps.rb')
15
+ require 'Ifd_Automation'
20
16
 
21
17
  if ENV["browser"].nil?
22
18
  raise "ERROR***: MISSING BROWSER... Supported Browsers: Chrome/Firefox."
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: Ifd_Automation
3
3
  version: !ruby/object:Gem::Version
4
- version: '2.3'
4
+ version: '2.4'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Anh Pham
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-01-04 00:00:00.000000000 Z
11
+ date: 2018-01-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: selenium-webdriver