Skip to content

Commit f5452f5

Browse files
committed
Apply RuboCop corrections
1 parent 1dc7291 commit f5452f5

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

‎test/protocol/http/body/stream.rb‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -208,10 +208,10 @@
208208
it "can read until a pattern which isn't encountered" do
209209
expect(stream.read_until("X")).to be_nil
210210
end
211-
211+
212212
with "empty input" do
213213
let(:input) {Protocol::HTTP::Body::Buffered.new}
214-
214+
215215
it "returns nil" do
216216
expect(stream.read_until("X")).to be_nil
217217
end

‎test/protocol/http/request.rb‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -138,20 +138,20 @@
138138

139139
with "POST request without a body" do
140140
let(:request) {subject["POST", "/submit"]}
141-
141+
142142
it "should not be idempotent" do
143143
expect(request).not.to be(:idempotent?)
144144
end
145145
end
146-
146+
147147
with "PUT request with a body" do
148148
let(:request) {subject["PUT", "/resource", body: "content"]}
149-
149+
150150
it "should not be idempotent" do
151151
expect(request).not.to be(:idempotent?)
152152
end
153153
end
154-
154+
155155
it "should have a string representation" do
156156
expect(request.to_s).to be == "http://localhost: GET /index.html HTTP/1.0"
157157
end

0 commit comments

Comments
 (0)