Skip to content

Commit 97e8ebb

Browse files
committed
[Docs] Fix syntax highlighting of some code snippets
1 parent 0c091c0 commit 97e8ebb

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/modules/ROOT/pages/index.adoc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,14 @@ https://github.com/rubocop-hq/rubocop[RuboCop].
1414

1515
Enforcing
1616

17-
[source,bash]
17+
[source,ruby]
1818
----
1919
expect(calculator.compute(line_item)).to eq(5)
2020
----
2121

2222
over
2323

24-
[source,bash]
24+
[source,ruby]
2525
----
2626
calculator.compute(line_item).should == 5
2727
----
@@ -32,7 +32,7 @@ is a feature of RSpec itself – you can read about it in the https://relishapp.
3232

3333
Enforcing
3434

35-
[source,bash]
35+
[source,ruby]
3636
----
3737
RSpec.describe MyClass do
3838
...
@@ -41,7 +41,7 @@ end
4141

4242
over
4343

44-
[source,bash]
44+
[source,ruby]
4545
----
4646
describe MyClass do
4747
...

0 commit comments

Comments
 (0)