Merge master (with primary taxons restored)

This commit is contained in:
Rob H
2014-05-30 15:45:48 +10:00
38 changed files with 195 additions and 83 deletions

View File

@@ -0,0 +1,15 @@
require 'spec_helper'
describe Spree::Admin::BaseController do
controller(Spree::Admin::BaseController) do
def index
before_filter :unauthorized
render text: ""
end
end
it "redirects to Angular login" do
get :index
response.should redirect_to root_path(anchor: "login?after_login=/anonymous")
end
end