usaidwat 1.3.0 → 1.4.0

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.
@@ -1,5 +0,0 @@
1
- require 'timecop'
2
-
3
- After do
4
- Timecop.return
5
- end
@@ -1,19 +0,0 @@
1
- require 'highline'
2
-
3
- module USaidWat
4
- module Application
5
- class Terminal
6
- def initialize
7
- @term = HighLine.new
8
- end
9
-
10
- def width
11
- @term.output_cols
12
- end
13
-
14
- def height
15
- @term.output_rows
16
- end
17
- end
18
- end
19
- end
@@ -1,21 +0,0 @@
1
- require 'spec_helper'
2
-
3
- module USaidWat
4
- module Application
5
- describe Terminal do
6
- let (:terminal) { Terminal.new }
7
-
8
- describe "#width" do
9
- it "should return a positive integer" do
10
- expect(terminal.width).to be > 0
11
- end
12
- end
13
-
14
- describe "#height" do
15
- it "should return a positive integer" do
16
- expect(terminal.height).to be > 0
17
- end
18
- end
19
- end
20
- end
21
- end