spec/rubocop/rspec/example_group_spec.rb in rubocop-rspec-1.12.0 vs spec/rubocop/rspec/example_group_spec.rb in rubocop-rspec-1.13.0
- old
+ new
@@ -5,24 +5,24 @@
subject(:group) { described_class.new(parse_source(source).ast) }
let(:source) do
<<-RUBY
- RSpec.describe Foo do
- it 'does x' do
- x
- end
+ RSpec.describe Foo do
+ it 'does x' do
+ x
+ end
- it 'does y' do
- y
- end
+ it 'does y' do
+ y
+ end
- context 'nested' do
- it 'does z' do
- z
+ context 'nested' do
+ it 'does z' do
+ z
+ end
end
end
- end
RUBY
end
let(:example_nodes) do
[