trick_bag 0.34.0 → 0.35.0
Sign up to get free protection for your applications and to get access to all the features.
data/RELEASE_NOTES.md
CHANGED
data/lib/trick_bag/version.rb
CHANGED
@@ -113,6 +113,15 @@ nbc.com
|
|
113
113
|
enumerator = subject.each
|
114
114
|
expect(-> { 3.times { enumerator.close } }).not_to raise_error
|
115
115
|
end
|
116
|
+
|
117
|
+
specify "start_pos returns the value passed to the constructor" do
|
118
|
+
expect(FileLineReader.new(@tempfile.path, 10).start_pos).to eq(10)
|
119
|
+
end
|
120
|
+
|
121
|
+
specify "max_count returns the value passed to the constructor" do
|
122
|
+
expect(FileLineReader.new(@tempfile.path, 10, 200).max_count).to eq(200)
|
123
|
+
end
|
124
|
+
|
116
125
|
end
|
117
126
|
end
|
118
127
|
end
|