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

Version Path
enju_biblio-0.3.18 spec/views/resource_import_files/index.html.erb_spec.rb
enju_biblio-0.3.17 spec/views/resource_import_files/index.html.erb_spec.rb
enju_biblio-0.3.16 spec/views/resource_import_files/index.html.erb_spec.rb
enju_biblio-0.3.15 spec/views/resource_import_files/index.html.erb_spec.rb
enju_biblio-0.3.14 spec/views/resource_import_files/index.html.erb_spec.rb
enju_biblio-0.3.13 spec/views/resource_import_files/index.html.erb_spec.rb
enju_biblio-0.3.12 spec/views/resource_import_files/index.html.erb_spec.rb
enju_biblio-0.3.11 spec/views/resource_import_files/index.html.erb_spec.rb
enju_biblio-0.3.10 spec/views/resource_import_files/index.html.erb_spec.rb
enju_biblio-0.3.10.rc.3 spec/views/resource_import_files/index.html.erb_spec.rb
enju_biblio-0.3.10.rc.2 spec/views/resource_import_files/index.html.erb_spec.rb
enju_biblio-0.3.10.rc.1 spec/views/resource_import_files/index.html.erb_spec.rb
enju_biblio-0.3.9 spec/views/resource_import_files/index.html.erb_spec.rb
enju_biblio-0.4.0.rc.1 spec/views/resource_import_files/index.html.erb_spec.rb
enju_biblio-0.3.8 spec/views/resource_import_files/index.html.erb_spec.rb
enju_biblio-0.3.7 spec/views/resource_import_files/index.html.erb_spec.rb
enju_biblio-0.3.6 spec/views/resource_import_files/index.html.erb_spec.rb
enju_biblio-0.4.0.beta.2 spec/views/resource_import_files/index.html.erb_spec.rb
enju_biblio-0.4.0.beta.1 spec/views/resource_import_files/index.html.erb_spec.rb
enju_biblio-0.3.5 spec/views/resource_import_files/index.html.erb_spec.rb