Sha256: d1ec33f7510dfcf1f702c2fa5ddd108b1e59375c772c1f00227454e2472b58be
Contents?: true
Size: 675 Bytes
Versions: 18
Compression:
Stored size: 675 Bytes
Contents
require 'spec_helper' require 'lib/guard/rspec/inspectors/shared_examples' klass = Guard::RSpec::Inspectors::SimpleInspector describe klass do include_examples 'inspector', klass # Use real paths because BaseInspector#_clean will be used to clean them let(:other_paths) { [ 'spec/lib/guard/rspec/inspectors/simple_inspector_spec.rb', 'spec/lib/guard/rspec/runner_spec.rb' ] } it 'returns paths and do not bothers about failed locations' do 2.times do expect(inspector.paths(paths)).to eq(paths) inspector.failed(failed_locations) expect(inspector.paths(other_paths)).to eq(other_paths) inspector.failed([]) end end end
Version data entries
18 entries across 16 versions & 2 rubygems