Sha256: 2ffd5820f7037d71c826b3971281cc65e31aa1045c2a1a2debe172953eb3ac81
Contents?: true
Size: 352 Bytes
Versions: 2
Compression:
Stored size: 352 Bytes
Contents
#enconding: utf-8 require 'spec_helper' require 'strategies_helper' describe Strategies::Base do it "raise an exception if api is not implemented" do class TestStrategy < Strategies::Base end expect { test_strategy = TestStrategy.new test_strategy.success? }.to raise_error Exceptions::IncompatibleComparator end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
the_array_comparator-0.2.0 | spec/comparator/base_spec.rb |
the_array_comparator-0.1.1 | spec/comparator/base_spec.rb |