Skip to content

Commit 180f292

Browse files
authored
Fix for nextwork_spec.rb:512 "#offline_mode" (#536)
1 parent 62dd1b0 commit 180f292

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@ tmp
66
.idea
77
.ruby-version
88
.yardoc
9+
.tool-versions

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)