We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6753f84 commit 024dcc8Copy full SHA for 024dcc8
spec/page_spec.rb
@@ -260,13 +260,13 @@ def is_mobile?
260
261
context "given a zero height" do
262
it "does not change the height" do
263
- expect { page.resize(width: 2000, height: 0) }.not_to change { body_size[:height] }
+ expect { page.resize(width: 2000, height: 0) }.not_to(change { body_size[:height] })
264
end
265
266
267
context "given a zero width" do
268
it "does not change the width" do
269
- expect { page.resize(width: 0, height: 1000) }.not_to change { body_size[:width] }
+ expect { page.resize(width: 0, height: 1000) }.not_to(change { body_size[:width] })
270
271
272
0 commit comments