Sha256: ef96e8e1ceabca6fd7b2800a243d75d7397b5123dbd52fb3aa254ff7b1e46bc8
Contents?: true
Size: 360 Bytes
Versions: 1
Compression:
Stored size: 360 Bytes
Contents
shared_examples_for 'support interface matcher' do |name| describe 'interface' do before :all do RSpec.configure do |c| c.stdout = "1000" end end describe interface(name) do its(:speed) { should eq 1000 } end describe interface('invalid-interface') do its(:speed) { should_not eq 100 } end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
serverspec-0.6.12 | spec/support/shared_interface_examples.rb |