Added Acceptance tests for generators/releases.rb
Why is this change being made?
The change is made to address issue 263464
Changes
- Added tests for the main generate method
- Added test fixtures to /spec/fixtures/generators/releases
- Refactored code in releases.rb to inject the site posts location and data dir in order to support test fixtures