Fixed rspec tests for git revision