spec/unit/axiom/relation/header/class_methods/coerce_spec.rb in axiom-0.1.1 vs spec/unit/axiom/relation/header/class_methods/coerce_spec.rb in axiom-0.2.0
- old
+ new
@@ -10,11 +10,11 @@
context 'with a block' do
subject { object.coerce(argument, &block) }
context 'when the argument is a Header' do
- let(:argument) { header }
- let(:block) { proc { raise 'should not raise' } }
+ let(:argument) { header }
+ let(:block) { proc { fail 'should not fail' } }
it { should be(header) }
end
context 'when the argument responds to #to_ary' do