Fixed rspec for defines