Skip to content
This repository was archived by the owner on Nov 30, 2024. It is now read-only.

Commit c6ce078

Browse files
authored
Merge pull request #496 from rspec/replace-deprecated-nested-example-group-usage
Use proper nested example group include statement
2 parents 2620932 + ba484c1 commit c6ce078

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

.rspec

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
--order random
2-
--color
32
--warnings
43
-r spec_helper

spec/rspec/support/warnings_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,10 @@
5656
warning_object.warning 'Message'
5757
end
5858

59-
it_should_behave_like 'warning helper', :warning
59+
it_behaves_like 'warning helper', :warning
6060
end
6161

6262
describe "#warn_with message, options" do
63-
it_should_behave_like 'warning helper', :warn_with
63+
it_behaves_like 'warning helper', :warn_with
6464
end
6565
end

0 commit comments

Comments
 (0)