ole-qa-framework 2.7.0 → 2.7.1

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG.md CHANGED
@@ -1,4 +1,9 @@
1
- ### v2.7.0
1
+ ### v2.7.1 - 2013/10/09
2
+
3
+ * OLEFS - Invoice Document
4
+ * Add Current Items Line
5
+
6
+ ### v2.7.0 - 2013/10/09
2
7
 
3
8
  * OLEFS - New Items
4
9
  * Invoice Document
@@ -1,7 +1,7 @@
1
- # Default options for using development environment.
1
+ # Default options for non-development use.
2
2
  ---
3
- :url: http://dev.ole.kuali.org/
3
+ :url: http://tst.ole.kuali.org/
4
4
  :headless?: true
5
5
  :implicit_wait: 0
6
6
  :explicit_wait: 15
7
- :doc_wait: 60
7
+ :doc_wait: 45
@@ -15,6 +15,6 @@
15
15
  module OLE_QA
16
16
  module Framework
17
17
  # The version number for this project.
18
- VERSION = '2.7.0'
18
+ VERSION = '2.7.1'
19
19
  end
20
20
  end
@@ -19,12 +19,16 @@ module OLE_QA::Framework::OLEFS
19
19
  # A flexible object representing a Purchase Order line on an Invoice document.
20
20
  attr_reader :po_line
21
21
 
22
+ # A flexible object representing a Purchase Order line item in the Current Items tab of an Invoice document.
23
+ attr_reader :current_items_line
24
+
22
25
  # Initialize with URL for a new invoice.
23
26
  def initialize(ole_session)
24
27
  url = ole_session.url + '/portal.do?channelTitle=Create&channelUrl='
25
28
  url += ole_session.url + '/ole-kr-krad/OLEInvoice?viewId=OLEInvoiceDocumentView&methodToCall=docHandler&command=initiate&documentClass=org.kuali.ole.krad.transaction.documents.OLEInvoiceDocument'
26
29
  super(ole_session, url)
27
30
  @po_line = OLE_QA::Framework::OLEFS::Invoice_Line.new(@ole, 1)
31
+ @current_items_line = OLE_QA::Framework::OLEFS::Invoice_Current_Item.new(@ole, 1)
28
32
  end
29
33
 
30
34
  # Define basic invoice document screen elements.
@@ -81,4 +81,9 @@ describe 'An OLE Invoice' do
81
81
  @invoice.methods.include?(:po_line).should be_true
82
82
  @invoice.po_line.class.should == OLE_QA::Framework::OLEFS::Invoice_Line
83
83
  end
84
+
85
+ it 'should have a current items line' do
86
+ @invoice.methods.include?(:current_items_line).should be_true
87
+ @invoice.current_items_line.class.should == OLE_QA::Framework::OLEFS::Invoice_Current_Item
88
+ end
84
89
  end
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.7.0
4
+ version: 2.7.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: