spec/nanoc/base/entities/rule_memory_spec.rb in nanoc-4.7.1 vs spec/nanoc/base/entities/rule_memory_spec.rb in nanoc-4.7.2
- old
+ new
@@ -144,16 +144,16 @@
rule_memory.add_snapshot(:c, nil)
end
example do
expect(subject[0]).to be_a(Nanoc::Int::ProcessingActions::Snapshot)
- expect(subject[0].snapshot_names).to eql([:a1, :a2, :a3])
+ expect(subject[0].snapshot_names).to eql(%i(a1 a2 a3))
expect(subject[0].paths).to eql(['/a2.md'])
expect(subject[1]).to be_a(Nanoc::Int::ProcessingActions::Filter)
expect(subject[2]).to be_a(Nanoc::Int::ProcessingActions::Snapshot)
- expect(subject[2].snapshot_names).to eql([:b1, :b2, :b3])
+ expect(subject[2].snapshot_names).to eql(%i(b1 b2 b3))
expect(subject[2].paths).to eql(['/b1.md', '/b3.md'])
expect(subject[3]).to be_a(Nanoc::Int::ProcessingActions::Filter)
expect(subject[4]).to be_a(Nanoc::Int::ProcessingActions::Snapshot)