Revision d19da48d
Added by Ewoud Kohl van Wijngaarden over 10 years ago
spec/spec_helper.rb | ||
---|---|---|
def static_fixture_path
|
||
File.join(File.dirname(__FILE__), 'static_fixtures')
|
||
end
|
||
|
||
RSpec.configure do |c|
|
||
c.module_path = File.join(fixture_path, 'modules')
|
||
c.manifest_dir = File.join(fixture_path, 'manifests')
|
||
c.mock_with :mocha
|
||
end
|
Also available in: Unified diff
Clean up tests
This replaces the deprecated include_class with contain_class and
removes the redundant rspec configuration.