Sha256: e5568e25ab166e378d1ee3ec2e41251695dfb0e8c153bf2a8c4d7c742a787f8b

Contents?: true

Size: 473 Bytes

Versions: 2

Compression:

Stored size: 473 Bytes

Contents

require 'rspec/approvals'

module Approvals

end

##
# Simple shared context for allowing fixture-based examples to be
# declared by using the example and example group names.
# See graph_spec.rb for examples.
shared_context 'fixtures', :fixtures => true do
  let( :dirname  ){ example.example_group.description }
  let( :basename ){ example.description }
  let( :file ){ File.join './spec/fixtures', dirname, basename }

  before { subject.path << './spec/fixtures' }
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
codependency-2.3.2 spec/support/approvals.rb
codependency-2.3.1 spec/support/approvals.rb