Skip to content

Commit

Permalink
Merge pull request #3067 from threeplanetssoftware/update-documentati…
Browse files Browse the repository at this point in the history
…on-for-code-blocks

Fixed errant capitalization of Ruby on code block
  • Loading branch information
pirj committed Jan 29, 2024
2 parents 236405c + 190299f commit d1445ba
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions features/example_groups/shared_examples.feature
Expand Up @@ -276,7 +276,7 @@ Feature: Using shared examples

Scenario: Shared examples are nestable by context
Given a file named "context_specific_examples_spec.rb" with:
"""Ruby
"""ruby
RSpec.describe "shared examples" do
context "per context" do
Expand All @@ -296,7 +296,7 @@ Feature: Using shared examples

Scenario: Shared examples are accessible from offspring contexts
Given a file named "context_specific_examples_spec.rb" with:
"""Ruby
"""ruby
RSpec.describe "shared examples" do
shared_examples "shared examples are nestable" do
specify { expect(true).to eq true }
Expand All @@ -319,7 +319,7 @@ Feature: Using shared examples

Scenario: Shared examples are isolated per context
Given a file named "isolated_shared_examples_spec.rb" with:
"""Ruby
"""ruby
RSpec.describe "shared examples" do
context do
shared_examples "shared examples are isolated" do
Expand Down

0 comments on commit d1445ba

Please sign in to comment.