Sha256: dd8c025bf0688d1448746851b6e610ac31cdc17e5aa3987b30a2d6a818652c13
Contents?: true
Size: 485 Bytes
Versions: 4
Compression:
Stored size: 485 Bytes
Contents
# encoding: utf-8 class Nanoc::Int::ItemRepRecorderProxyTest < Nanoc::TestCase def test_double_names proxy = Nanoc::Int::ItemRepRecorderProxy.new(mock) proxy.snapshot(:foo, stuff: :giraffe) assert_raises(Nanoc::Int::Errors::CannotCreateMultipleSnapshotsWithSameName) do proxy.snapshot(:foo, stuff: :donkey) end end def test_double_params proxy = Nanoc::Int::ItemRepRecorderProxy.new(mock) proxy.snapshot(:foo) proxy.snapshot(:bar) end end
Version data entries
4 entries across 4 versions & 1 rubygems