Sha256: 869691b454c38e94948058afb2dd079c92c9f11cc8c028950edaf1c7b207e78a

Contents?: true

Size: 350 Bytes

Versions: 13

Compression:

Stored size: 350 Bytes

Contents

require 'spec_helper'

describe Anvil::Assure do
  subject { dummy_assure.new }

  context 'on a passing assure' do
    let(:dummy_assure) { DummyAssure }
    it                 { should be_assured }
  end

  context 'on a non passing assure' do
    let(:dummy_assure) { DummyFailedAssure }
    it                 { should_not be_assured }
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
anvil-core-0.6.0 spec/lib/anvil/assure_spec.rb
anvil-core-0.5.0 spec/lib/anvil/assure_spec.rb
anvil-core-0.4.2 spec/lib/anvil/assure_spec.rb
anvil-core-0.4.1 spec/lib/anvil/assure_spec.rb
anvil-core-0.4.0 spec/lib/anvil/assure_spec.rb
anvil-core-0.3.2 spec/lib/anvil/assure_spec.rb
anvil-core-0.3.1 spec/lib/anvil/assure_spec.rb
anvil-core-0.3.0 spec/lib/anvil/assure_spec.rb
anvil-core-0.2.0 spec/lib/anvil/assure_spec.rb
anvil-core-0.1.0 spec/lib/anvil/assure_spec.rb
anvil-core-0.0.1.pre.alpha.3 spec/lib/anvil/assure_spec.rb
anvil-core-0.0.1.pre.alpha.2 spec/lib/anvil/assure_spec.rb
anvil-core-0.0.1.alpha.1 spec/lib/assure_spec.rb