Skip to content

Commit 69a26ed

Browse files
committed
Fix for nextwork_spec.rb:512 "#offline_mode" - case insensitive match
1 parent 7630b9c commit 69a26ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/network_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -517,6 +517,6 @@
517517
%r{Request to http://.*/with_js failed \(net::ERR_INTERNET_DISCONNECTED\)}
518518
)
519519

520-
expect(page.at_css("body").text).to match("No Internet")
520+
expect(page.at_css("body").text.downcase).to match("no internet")
521521
end
522522
end

0 commit comments

Comments
 (0)