https://github.com/gollum/adapter_specs
The spec suite for Gollum Git adapters.
https://github.com/gollum/adapter_specs
Last synced: 6 months ago
JSON representation
The spec suite for Gollum Git adapters.
- Host: GitHub
- URL: https://github.com/gollum/adapter_specs
- Owner: gollum
- Created: 2013-09-16T19:19:03.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2025-01-11T19:09:34.000Z (9 months ago)
- Last Synced: 2025-03-30T01:35:13.020Z (6 months ago)
- Language: Ruby
- Size: 1.08 MB
- Stars: 7
- Watchers: 11
- Forks: 9
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
The spec suite for Gollum Git adapters.
To test your adapter against these specs, add the following to spec/spec_helper.rb:
```ruby
gem_spec = Gem::Specification.find_by_name('gollum_git_adapter_specs')
gem_spec_dir = "#{gem_spec.gem_dir}/#{gem_spec.require_paths[0]}"
Dir.glob("#{gem_spec_dir}/**/*.rb").each {|spec| require "#{spec}"}
```