Fixes rspec warning issue.