Skip to content

Commit

Permalink
[Docs] Fix syntax highlighting of some code snippets
Browse files Browse the repository at this point in the history
  • Loading branch information
bbatsov committed Jun 2, 2020
1 parent 440454f commit 4ba07c4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/modules/ROOT/pages/index.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@ https://github.com/rubocop-hq/rubocop[RuboCop].

Enforcing

[source,bash]
[source,ruby]
----
expect(calculator.compute(line_item)).to eq(5)
----

over

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

Enforcing

[source,bash]
[source,ruby]
----
RSpec.describe MyClass do
...
Expand All @@ -41,7 +41,7 @@ end

over

[source,bash]
[source,ruby]
----
describe MyClass do
...
Expand Down

0 comments on commit 4ba07c4

Please sign in to comment.