Skip to content

Commit 024dcc8

Browse files
committed
Fix Rubocop offenses
1 parent 6753f84 commit 024dcc8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spec/page_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -260,13 +260,13 @@ def is_mobile?
260260

261261
context "given a zero height" do
262262
it "does not change the height" do
263-
expect { page.resize(width: 2000, height: 0) }.not_to change { body_size[:height] }
263+
expect { page.resize(width: 2000, height: 0) }.not_to(change { body_size[:height] })
264264
end
265265
end
266266

267267
context "given a zero width" do
268268
it "does not change the width" do
269-
expect { page.resize(width: 0, height: 1000) }.not_to change { body_size[:width] }
269+
expect { page.resize(width: 0, height: 1000) }.not_to(change { body_size[:width] })
270270
end
271271
end
272272

0 commit comments

Comments
 (0)