Skip to content

Commit 8fb0b22

Browse files
committed
[rb] fix logging spec linter issue
1 parent a571cf2 commit 8fb0b22

File tree

5 files changed

+18
-16
lines changed

5 files changed

+18
-16
lines changed

examples/ruby/spec/bidi/logging_spec.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# frozen_string_literal: true
2+
13
require 'spec_helper'
24

35
RSpec.describe 'Logging' do

website_and_docs/content/documentation/webdriver/bidi/logging.en.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Record or take actions on `console.log` events.
3131
{{< badge-implementation >}}
3232
{{< /tab >}}
3333
{{< tab header="Ruby" >}}
34-
{{< gh-codeblock path="/examples/ruby/spec/bidi/logging_spec.rb#L11" >}}
34+
{{< gh-codeblock path="/examples/ruby/spec/bidi/logging_spec.rb#L13" >}}
3535
{{< /tab >}}
3636
{{< tab header="JavaScript" >}}
3737
{{< badge-implementation >}}
@@ -56,7 +56,7 @@ You need to store the ID returned when adding the handler to delete it.
5656
{{< badge-implementation >}}
5757
{{< /tab >}}
5858
{{< tab header="Ruby" >}}
59-
{{< gh-codeblock path="/examples/ruby/spec/bidi/logging_spec.rb#L22-L23" >}}
59+
{{< gh-codeblock path="/examples/ruby/spec/bidi/logging_spec.rb#L24-L25" >}}
6060
{{< /tab >}}
6161
{{< tab header="JavaScript" >}}
6262
{{< badge-implementation >}}
@@ -83,7 +83,7 @@ Record or take actions on JavaScript exception events.
8383
{{< badge-implementation >}}
8484
{{< /tab >}}
8585
{{< tab header="Ruby" >}}
86-
{{< gh-codeblock path="/examples/ruby/spec/bidi/logging_spec.rb#L33" >}}
86+
{{< gh-codeblock path="/examples/ruby/spec/bidi/logging_spec.rb#L35" >}}
8787
{{< /tab >}}
8888
{{< tab header="JavaScript" >}}
8989
{{< badge-implementation >}}
@@ -108,7 +108,7 @@ You need to store the ID returned when adding the handler to delete it.
108108
{{< badge-implementation >}}
109109
{{< /tab >}}
110110
{{< tab header="Ruby" >}}
111-
{{< gh-codeblock path="/examples/ruby/spec/bidi/logging_spec.rb#L44-L45" >}}
111+
{{< gh-codeblock path="/examples/ruby/spec/bidi/logging_spec.rb#L46-L47" >}}
112112
{{< /tab >}}
113113
{{< tab header="JavaScript" >}}
114114
{{< badge-implementation >}}

website_and_docs/content/documentation/webdriver/bidi/logging.ja.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Record or take actions on `console.log` events.
3131
{{< badge-implementation >}}
3232
{{< /tab >}}
3333
{{< tab header="Ruby" >}}
34-
{{< gh-codeblock path="/examples/ruby/spec/bidi/logging_spec.rb#L11" >}}
34+
{{< gh-codeblock path="/examples/ruby/spec/bidi/logging_spec.rb#L13" >}}
3535
{{< /tab >}}
3636
{{< tab header="JavaScript" >}}
3737
{{< badge-implementation >}}
@@ -56,7 +56,7 @@ You need to store the ID returned when adding the handler to delete it.
5656
{{< badge-implementation >}}
5757
{{< /tab >}}
5858
{{< tab header="Ruby" >}}
59-
{{< gh-codeblock path="/examples/ruby/spec/bidi/logging_spec.rb#L22-L23" >}}
59+
{{< gh-codeblock path="/examples/ruby/spec/bidi/logging_spec.rb#L24-L25" >}}
6060
{{< /tab >}}
6161
{{< tab header="JavaScript" >}}
6262
{{< badge-implementation >}}
@@ -83,7 +83,7 @@ Record or take actions on JavaScript exception events.
8383
{{< badge-implementation >}}
8484
{{< /tab >}}
8585
{{< tab header="Ruby" >}}
86-
{{< gh-codeblock path="/examples/ruby/spec/bidi/logging_spec.rb#L33" >}}
86+
{{< gh-codeblock path="/examples/ruby/spec/bidi/logging_spec.rb#L35" >}}
8787
{{< /tab >}}
8888
{{< tab header="JavaScript" >}}
8989
{{< badge-implementation >}}
@@ -108,7 +108,7 @@ You need to store the ID returned when adding the handler to delete it.
108108
{{< badge-implementation >}}
109109
{{< /tab >}}
110110
{{< tab header="Ruby" >}}
111-
{{< gh-codeblock path="/examples/ruby/spec/bidi/logging_spec.rb#L44-L45" >}}
111+
{{< gh-codeblock path="/examples/ruby/spec/bidi/logging_spec.rb#L46-L47" >}}
112112
{{< /tab >}}
113113
{{< tab header="JavaScript" >}}
114114
{{< badge-implementation >}}

website_and_docs/content/documentation/webdriver/bidi/logging.pt-br.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Record or take actions on `console.log` events.
3131
{{< badge-implementation >}}
3232
{{< /tab >}}
3333
{{< tab header="Ruby" >}}
34-
{{< gh-codeblock path="/examples/ruby/spec/bidi/logging_spec.rb#L11" >}}
34+
{{< gh-codeblock path="/examples/ruby/spec/bidi/logging_spec.rb#L13" >}}
3535
{{< /tab >}}
3636
{{< tab header="JavaScript" >}}
3737
{{< badge-implementation >}}
@@ -56,7 +56,7 @@ You need to store the ID returned when adding the handler to delete it.
5656
{{< badge-implementation >}}
5757
{{< /tab >}}
5858
{{< tab header="Ruby" >}}
59-
{{< gh-codeblock path="/examples/ruby/spec/bidi/logging_spec.rb#L22-L23" >}}
59+
{{< gh-codeblock path="/examples/ruby/spec/bidi/logging_spec.rb#L24-L25" >}}
6060
{{< /tab >}}
6161
{{< tab header="JavaScript" >}}
6262
{{< badge-implementation >}}
@@ -83,7 +83,7 @@ Record or take actions on JavaScript exception events.
8383
{{< badge-implementation >}}
8484
{{< /tab >}}
8585
{{< tab header="Ruby" >}}
86-
{{< gh-codeblock path="/examples/ruby/spec/bidi/logging_spec.rb#L33" >}}
86+
{{< gh-codeblock path="/examples/ruby/spec/bidi/logging_spec.rb#L35" >}}
8787
{{< /tab >}}
8888
{{< tab header="JavaScript" >}}
8989
{{< badge-implementation >}}
@@ -108,7 +108,7 @@ You need to store the ID returned when adding the handler to delete it.
108108
{{< badge-implementation >}}
109109
{{< /tab >}}
110110
{{< tab header="Ruby" >}}
111-
{{< gh-codeblock path="/examples/ruby/spec/bidi/logging_spec.rb#L44-L45" >}}
111+
{{< gh-codeblock path="/examples/ruby/spec/bidi/logging_spec.rb#L46-L47" >}}
112112
{{< /tab >}}
113113
{{< tab header="JavaScript" >}}
114114
{{< badge-implementation >}}

website_and_docs/content/documentation/webdriver/bidi/logging.zh-cn.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Record or take actions on `console.log` events.
3131
{{< badge-implementation >}}
3232
{{< /tab >}}
3333
{{< tab header="Ruby" >}}
34-
{{< gh-codeblock path="/examples/ruby/spec/bidi/logging_spec.rb#L11" >}}
34+
{{< gh-codeblock path="/examples/ruby/spec/bidi/logging_spec.rb#L13" >}}
3535
{{< /tab >}}
3636
{{< tab header="JavaScript" >}}
3737
{{< badge-implementation >}}
@@ -56,7 +56,7 @@ You need to store the ID returned when adding the handler to delete it.
5656
{{< badge-implementation >}}
5757
{{< /tab >}}
5858
{{< tab header="Ruby" >}}
59-
{{< gh-codeblock path="/examples/ruby/spec/bidi/logging_spec.rb#L22-L23" >}}
59+
{{< gh-codeblock path="/examples/ruby/spec/bidi/logging_spec.rb#L24-L25" >}}
6060
{{< /tab >}}
6161
{{< tab header="JavaScript" >}}
6262
{{< badge-implementation >}}
@@ -83,7 +83,7 @@ Record or take actions on JavaScript exception events.
8383
{{< badge-implementation >}}
8484
{{< /tab >}}
8585
{{< tab header="Ruby" >}}
86-
{{< gh-codeblock path="/examples/ruby/spec/bidi/logging_spec.rb#L33" >}}
86+
{{< gh-codeblock path="/examples/ruby/spec/bidi/logging_spec.rb#L35" >}}
8787
{{< /tab >}}
8888
{{< tab header="JavaScript" >}}
8989
{{< badge-implementation >}}
@@ -108,7 +108,7 @@ You need to store the ID returned when adding the handler to delete it.
108108
{{< badge-implementation >}}
109109
{{< /tab >}}
110110
{{< tab header="Ruby" >}}
111-
{{< gh-codeblock path="/examples/ruby/spec/bidi/logging_spec.rb#L44-L45" >}}
111+
{{< gh-codeblock path="/examples/ruby/spec/bidi/logging_spec.rb#L46-L47" >}}
112112
{{< /tab >}}
113113
{{< tab header="JavaScript" >}}
114114
{{< badge-implementation >}}

0 commit comments

Comments
 (0)