Sha256: 64e23873932697627fde3d3458a4a5e85fe4963e1ee0cd453e753a65af791975
Contents?: true
Size: 484 Bytes
Versions: 3
Compression:
Stored size: 484 Bytes
Contents
require 'rspec/approvals' ## # 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' } before { subject.require file } end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
codependency-2.3.0 | spec/support/approvals.rb |
codependency-2.2.0 | spec/support/approvals.rb |
codependency-2.1.0 | spec/support/approvals.rb |