added some rspec-mocks 3 guard logic
remove extra comma on default_spec platforms