From 2b0bdc69cd90a7919c03be0db008f7fe7ad60536 Mon Sep 17 00:00:00 2001 From: Will Marshall Date: Fri, 30 May 2014 13:01:16 +1000 Subject: [PATCH] Fixing a scope issue --- spec/features/admin/authentication_spec.rb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/spec/features/admin/authentication_spec.rb b/spec/features/admin/authentication_spec.rb index 6dd62bdc73..c4768e5eed 100644 --- a/spec/features/admin/authentication_spec.rb +++ b/spec/features/admin/authentication_spec.rb @@ -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