ole-qa-framework 2.6.1 → 2.6.2

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.
data/CHANGELOG.md CHANGED
@@ -1,3 +1,8 @@
1
+ ### v2.6.2 - 2013/08/23
2
+
3
+ * Fixed Requisition Line Item Definitions:
4
+ * Location Selector
5
+
1
6
  ### v2.6.1 - 2013/08/23
2
7
 
3
8
  * Updated Bib Editor definitions
@@ -15,6 +15,6 @@
15
15
  module OLE_QA
16
16
  module Framework
17
17
  # The version number for this project.
18
- VERSION = '2.6.1'
18
+ VERSION = '2.6.2'
19
19
  end
20
20
  end
@@ -41,6 +41,7 @@ module OLE_QA::Framework::OLEFS
41
41
  element(:format_selector) {b.select_list(:id => "document.item[#{@line_id}].formatTypeId")}
42
42
  element(:category_selector) {b.select_list(:id => "document.item[#{@line_id}].categoryId")}
43
43
  element(:discount_type_selector) {b.select_list(:id => "document.item[#{@line_id}].itemDiscountType")}
44
+ element(:location_selector) {b.select_list(:id => "document.item[#{@line_id}].itemLocation")}
44
45
  # Buttons, Checkboxes, Etc.
45
46
  element(:delete_button) {b.input(:title => "Delete Item #{@line_number}")}
46
47
  element(:route_to_requestor_checkbox) {b.checkbox(:id => "document.item[#{@line_id}].itemRouteToRequestor")}
@@ -42,6 +42,7 @@ module OLE_QA::Framework::OLEFS
42
42
  element(:discount_field) {b.text_field(:id => "newPurchasingItemLine.itemDiscount")}
43
43
  element(:discount_type_selector) {b.select_list(:id => "newPurchasingItemLine.itemDiscountType")}
44
44
  element(:add_button) {b.input(:name => "methodToCall.addItem")}
45
+ element(:location_selector) {b.select_list(:id => 'newPurchasingItemLine.itemLocation')}
45
46
  end
46
47
  end
47
48
  end
@@ -88,6 +88,7 @@ describe 'An OLEFS line item' do
88
88
  elements.should include(:closed_unit_cost_field)
89
89
  elements.should include(:closed_discount_field)
90
90
  elements.should include(:closed_discount_type_field)
91
+ elements.should include(:location_selector)
91
92
  #TODO add the methods below when OLE-4329 is fixed.
92
93
  # elements.should include(:notes_toggle)
93
94
  # methods_array.include(:copies_toggle)
@@ -104,8 +105,8 @@ describe 'An OLEFS line item' do
104
105
  elements = @new_line_item.methods
105
106
  elements.should include(:new_bib_option)
106
107
  elements.should include(:existing_bib_option)
107
- elements.should include(:bib_search_button)
108
108
  elements.should include(:new_bib_button)
109
+ elements.should include(:existing_bib_button)
109
110
  elements.should include(:item_type_selector)
110
111
  elements.should include(:copies_field)
111
112
  elements.should include(:parts_field)
@@ -119,6 +120,7 @@ describe 'An OLEFS line item' do
119
120
  elements.should include(:discount_field)
120
121
  elements.should include(:discount_type_selector)
121
122
  elements.should include(:add_button)
123
+ elements.should include(:location_selector)
122
124
  end
123
125
 
124
126
  it 'should create an accounting line' do
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ole-qa-framework
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.6.1
4
+ version: 2.6.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: