Skip to content

Commit

Permalink
Add back the rspec test I removed on accident
Browse files Browse the repository at this point in the history
That would be bad

Signed-off-by: Tim Smith <tsmith@chef.io>
  • Loading branch information
tas50 committed Nov 9, 2019
1 parent ee34cda commit 0d6ac78
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions spec/rubocop/cop/chef/modernize/respond_to_metadata_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,10 @@
chef_version '> 13'
RUBY
end

it "doesn't register an offense when just calling the same method" do
expect_no_offenses(<<~RUBY)
chef_version '> 13'
RUBY
end
end

0 comments on commit 0d6ac78

Please sign in to comment.