Sha256: 450c0c2e255bd92312b1a83c0b1aa3cc8ef9c341ae5ee75c5391b771b77694bb
Contents?: true
Size: 212 Bytes
Versions: 2
Compression:
Stored size: 212 Bytes
Contents
shared_examples 'an object that respond to basic_methods' do |ignore: [], methods: %i(to_f to_tex to_gnu valued?)| (methods - ignore).each do |method| it {expect(subject).to respond_to(method) } end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
danica-2.0.5 | spec/support/shared_examples/common.rb |
danica-2.0.4 | spec/support/shared_examples/common.rb |