Sha256: fd4d1a2e5a7cc03ed04fe2f7202e1f09a28bc2a26bb9d1314662f2212d8ec942
Contents?: true
Size: 398 Bytes
Versions: 3
Compression:
Stored size: 398 Bytes
Contents
# encoding: utf-8 describe Assertion::DSL::Inversion do let(:klass) { Class.new { extend Assertion::DSL::Inversion } } describe "#not" do subject { klass.not } it "creates the iverter for the current class" do expect(subject).to be_kind_of Assertion::Inverter expect(subject.source).to eql klass end end # describe .not end # describe Assertion::DSL::Inversion
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
assertion-0.2.3 | spec/unit/assertion/dsl/inversion_spec.rb |
assertion-0.2.2 | spec/unit/assertion/dsl/inversion_spec.rb |
assertion-0.2.1 | spec/unit/assertion/dsl/inversion_spec.rb |