Rather than putting omniauth test configuration into the env.rb file, you should give it it's own file in the support folder.  e.g. features/support/omniauth.rb