Sha256: f58610e0458ad1188d52e0bbed2b9b6117b4fa3212408bc801ced2eaae0374b7
Contents?: true
Size: 740 Bytes
Versions: 4
Compression:
Stored size: 740 Bytes
Contents
# Copyright (c) 2008-2013 Michael Dvorkin and contributors. # # Fat Free CRM is freely distributable under the terms of MIT license. # See MIT-LICENSE file or http://www.opensource.org/licenses/mit-license.php #------------------------------------------------------------------------------ require File.expand_path(File.dirname(__FILE__) + '/../../../spec_helper') describe "admin/users/reactivate" do before do login_and_assign(admin: true) assign(:user, @user = FactoryGirl.create(:user, suspended_at: Time.now.yesterday)) end it "reloads the requested user partial" do render expect(rendered).to include("user_#{@user.id}") expect(rendered).to include(%/$('#user_#{@user.id}').effect("highlight"/) end end
Version data entries
4 entries across 4 versions & 2 rubygems