File: idempotent_method_behaviour.rb

package info (click to toggle)
ruby-virtus 2.0.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 660 kB
  • sloc: ruby: 4,378; makefile: 2
file content (5 lines) | stat: -rw-r--r-- 114 bytes parent folder | download | duplicates (3)
1
2
3
4
5
shared_examples_for 'an idempotent method' do
  it 'is idempotent' do
    is_expected.to equal(subject)
  end
end