Sha256: d289655343bf7a08ea3d6ea7e1bd50532d9e6017464ba6fb18937a518643a5a7
Contents?: true
Size: 465 Bytes
Versions: 1
Compression:
Stored size: 465 Bytes
Contents
# encoding: utf-8 class Nanoc::ItemRepRecorderProxyTest < Nanoc::TestCase def test_double_names proxy = Nanoc::ItemRepRecorderProxy.new(mock) proxy.snapshot(:foo, stuff: :giraffe) assert_raises(Nanoc::Errors::CannotCreateMultipleSnapshotsWithSameName) do proxy.snapshot(:foo, stuff: :donkey) end end def test_double_params proxy = Nanoc::ItemRepRecorderProxy.new(mock) proxy.snapshot(:foo) proxy.snapshot(:bar) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
nanoc-3.8.0 | test/base/test_item_rep_recorder_proxy.rb |