Sha256: 26e54b100f9a70dcf6e24386af4b53f735e4e3e2395fce476d9324f8a4764dea

Contents?: true

Size: 133 Bytes

Versions: 23

Compression:

Stored size: 133 Bytes

Contents

shared_examples_for 'an idempotent method' do
  it 'is idempotent' do
    should equal(instance_eval(&self.class.subject))
  end
end

Version data entries

23 entries across 23 versions & 4 rubygems

Version Path
virtus-0.5.4 spec/shared/idempotent_method_behaviour.rb
virtus-0.5.3 spec/shared/idempotent_method_behaviour.rb
fragrant-0.0.5 vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/spec/shared/idempotent_method_behaviour.rb
virtus-0.5.2 spec/shared/idempotent_method_behaviour.rb
virtus-0.5.1 spec/shared/idempotent_method_behaviour.rb
virtus-0.5.0 spec/shared/idempotent_method_behaviour.rb
virtus-0.4.2 spec/shared/idempotent_method_behaviour.rb
virtus-0.4.1 spec/shared/idempotent_method_behaviour.rb
virtus-0.4.0 spec/shared/idempotent_method_behaviour.rb
virtus-0.3.0 spec/shared/idempotent_method_behaviour.rb
virtus-0.2.0 spec/shared/idempotent_method_behaviour.rb
virtus-0.1.0 spec/shared/idempotent_method_behaviour.rb
virtus-0.0.10 spec/shared/idempotent_method_behaviour.rb
virtus-0.0.9 spec/shared/idempotent_method_behaviour.rb
virtus-0.0.8 spec/shared/idempotent_method_behaviour.rb
virtus-0.0.7 spec/shared/idempotent_method_behaviour.rb
virtus-0.0.6 spec/shared/idempotent_method_behaviour.rb
virtus-0.0.5 spec/shared/idempotent_method_behaviour.rb
virtus-0.0.4 spec/shared/idempotent_method_behaviour.rb
veritas-optimizer-0.0.3 spec/shared/idempotent_method_behavior.rb