spec/spec_helper.rb in rspec-system-0.0.2 vs spec/spec_helper.rb in rspec-system-0.1.0
- old
+ new
@@ -14,11 +14,14 @@
end
def fixture_path
Pathname.new(File.expand_path(File.join(__FILE__, '..', 'fixtures')))
end
+def resources_path
+ Pathname.new(File.expand_path(File.join(__FILE__, '..', '..', 'resources')))
+end
def schema_path
- Pathname.new(File.expand_path(File.join(__FILE__, '..', '..', 'resources', 'kwalify-schemas')))
+ resources_path + 'kwalify-schemas'
end
RSpec.configure do |config|
config.mock_with :mocha
end