Sha256: dc3b17fe8abf1f1ca846c8b47d1781e419f6cc9db2f6360b8812f8cd6ffbf2f3

Contents?: true

Size: 381 Bytes

Versions: 5

Compression:

Stored size: 381 Bytes

Contents

if defined? RSpec
  require 'approvals/extensions/rspec/dsl'
  require 'approvals/namers/rspec_namer'
  require 'approvals/namers/directory_namer'

  RSpec.configure do |c|
    c.include Approvals::RSpec::DSL
    c.add_setting :approvals_path, :default => 'spec/fixtures/approvals/'
    c.add_setting :approvals_namer_class, :default => Approvals::Namers::DirectoryNamer
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
approvals-0.0.9 lib/approvals/extensions/rspec.rb
approvals-0.0.8 lib/approvals/extensions/rspec.rb
approvals-0.0.7 lib/approvals/extensions/rspec.rb
approvals-0.0.6 lib/approvals/extensions/rspec.rb
approvals-0.0.5 lib/approvals/extensions/rspec.rb