Sha256: 60286135463321e02bfd2e25377feb16efc07e145e0afb46a12e4eb3b60521ad
Contents?: true
Size: 692 Bytes
Versions: 7
Compression:
Stored size: 692 Bytes
Contents
# frozen_string_literal: true # 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/index" do before do login_admin end it "renders a list of users" do assign(:users, [build_stubbed(:user)].paginate) render expect(view).to render_template(partial: "_user") expect(view).to render_template(partial: "shared/_paginate") end end
Version data entries
7 entries across 7 versions & 1 rubygems