Skip to content

Commit

Permalink
Hack around not being able to sign in as a user in analytics_spec
Browse files Browse the repository at this point in the history
  • Loading branch information
radar committed Jun 20, 2012
1 parent 9b8c28c commit 186b8eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dash/spec/requests/admin/analytics_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
describe "Analytics Activation" do
before(:each) do
@user = create(:admin_user)
sign_in_as!(@user)
Spree::Admin::AnalyticsController.any_instance.stub :spree_current_user => @user

Spree::Dash::Config.app_id = nil
Spree::Dash::Config.app_token = nil
Expand Down

0 comments on commit 186b8eb

Please sign in to comment.