Fixing a scope issue

This commit is contained in:
Will Marshall
2014-05-30 13:01:16 +10:00
parent 638d6d2ac0
commit 2b0bdc69cd

View File

@@ -2,9 +2,7 @@ require 'spec_helper'
feature "Authentication", js: true do
include UIComponentHelper
describe "logging into admin" do
let(:user) { create(:user, password: "password", password_confirmation: "password") }
end
let(:user) { create(:user, password: "password", password_confirmation: "password") }
scenario "logging into admin redirects home, then back to admin" do
visit spree.admin_path