Sha256: ba617abfedfb9c51b42f621e5c0481deb9312c0d660828c883d54db3c2cacb06

Contents?: true

Size: 486 Bytes

Versions: 36

Compression:

Stored size: 486 Bytes

Contents

require 'rails_helper'

describe "resource_export_files/new" do
  before(:each) do
    assign(:resource_export_file, stub_model(ResourceExportFile, user_id: 1).as_new_record)
    view.stub(:current_user).and_return(User.find(1))
  end

  it "renders new resource_export_file form" do
    render

    # Run the generator again with the --webrat flag if you want to use webrat matchers
    assert_select "form[action=?][method=?]", resource_export_files_path, "post" do
    end
  end
end

Version data entries

36 entries across 35 versions & 2 rubygems

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