File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
spec/lib/rex/image_source Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 24
24
described_class . allocate
25
25
end
26
26
27
- context "when _len not send as argument" do
27
+ context "when _len not sent as argument" do
28
28
let ( :_file ) { file }
29
29
30
30
it "initializes size to file length" do
33
33
end
34
34
end
35
35
36
- context "when _offset not send argument" do
36
+ context "when _offset not sent as argument" do
37
37
let ( :_file ) { file }
38
38
it "initializes file_offset to 0" do
39
39
disk_class . send ( :initialize , file )
43
43
end
44
44
45
45
describe "#read" do
46
- context "when offset minor than 0" do
46
+ context "when offset less than 0" do
47
47
let ( :offset ) { -1 }
48
48
let ( :len ) { 20 }
49
49
52
52
end
53
53
end
54
54
55
- context "when offset plus len major than size" do
55
+ context "offset plus len greater than size" do
56
56
let ( :offset ) { 0 }
57
57
let ( :len ) { 16000 }
58
58
You can’t perform that action at this time.
0 commit comments