Sha256: b341a3a1c29dfff8d69b806dbdd84028772861bc2b44e30270c8104701ee8238

Contents?: true

Size: 369 Bytes

Versions: 3

Compression:

Stored size: 369 Bytes

Contents

require 'spec_helper'

describe "resource_import_files/index" do
  fixtures :all

  before(:each) do
    assign(:resource_import_files, ResourceImportFile.page(1))
    admin = User.find('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

3 entries across 3 versions & 1 rubygems

Version Path
enju_biblio-0.2.0.beta.3 spec/views/resource_import_files/index.html.erb_spec.rb
enju_biblio-0.2.0.beta.2 spec/views/resource_import_files/index.html.erb_spec.rb
enju_biblio-0.2.0.beta.1 spec/views/resource_import_files/index.html.erb_spec.rb