lib/approvals/extensions/rspec.rb in approvals-0.0.3 vs lib/approvals/extensions/rspec.rb in approvals-0.0.4
- old
+ new
@@ -1,11 +1,9 @@
if defined? RSpec
require 'approvals/extensions/rspec/dsl'
- require 'approvals/extensions/rspec/example_group'
- require 'approvals/extensions/rspec/example'
require 'approvals/namers/rspec_namer'
RSpec.configure do |c|
- c.extend Approvals::RSpec::DSL
+ c.include Approvals::RSpec::DSL
c.add_setting :approvals_path, :default => 'spec/fixtures/approvals/'
end
end