Cleared rspec shared deprecation warnings