spec/rubocop/cop/rspec/focus_spec.rb in rubocop-rspec-1.6.0 vs spec/rubocop/cop/rspec/focus_spec.rb in rubocop-rspec-1.7.0
- old
+ new
@@ -35,10 +35,10 @@
xscenario 'test', meta: true, focus: true do; end
^^^^^^^^^^^ Focused spec found.
RUBY
end
- it 'flags all repec example blocks that include `:focus`' do
+ it 'flags all rspec example blocks that include `:focus`' do
expect_violation(<<-RUBY)
example_group 'test', :focus do; end
^^^^^^ Focused spec found.
feature 'test', :focus do; end
^^^^^^ Focused spec found.