Sha256: c2afbe3d74dec1a3eab4f2896d58535672854e9fc3e87e4688c91b2385c52aae
Contents?: true
Size: 383 Bytes
Versions: 33
Compression:
Stored size: 383 Bytes
Contents
require 'rails_helper' describe "resource_import_files/index" do fixtures :all before(:each) do assign(:resource_import_files, ResourceImportFile.page(1)) admin = User.find_by(username: 'enjuadmin') view.stub(:current_resource).and_return(admin) end it "renders a list of resource_import_files" do render expect(rendered).to match /MyString/ end end
Version data entries
33 entries across 33 versions & 2 rubygems