spree/spree — pull request #2868 by jdutil (2013-04-10 18:05:14+00:00)
Title: Fix I18n specs.

Check defined?(:config_locale) instead of respond_to?(:config_locale) which always returns false.

Also refactor common controller helper to use ActiveSupport::Concern.