Sha256: 418a493a2355c8b563d557efcacd669f525c0066b1ce59df9dda1bfbee8922ea
Contents?: true
Size: 421 Bytes
Versions: 1
Compression:
Stored size: 421 Bytes
Contents
# encoding: utf-8 require 'spec_helper' describe Optimizer, '#optimizable?' do subject { object.optimizable? } let(:described_class) { Class.new(Optimizer) } let(:operation) { double('Operation') } let(:object) { described_class.new(operation) } specify { expect { subject }.to raise_error(NotImplementedError, "#{described_class}#optimizable? is not implemented") } end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
axiom-optimizer-0.2.0 | spec/unit/axiom/optimizer/optimizable_predicate_spec.rb |