Sha256: 4016663ff146469af164f032c1ea66943cf91c96af9c75b1a6780ce3d1226713

Contents?: true

Size: 485 Bytes

Versions: 26

Compression:

Stored size: 485 Bytes

Contents

require 'spec_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

26 entries across 26 versions & 1 rubygems

Version Path
enju_biblio-0.2.0.beta.3 spec/views/resource_export_files/new.html.erb_spec.rb
enju_biblio-0.2.0.beta.2 spec/views/resource_export_files/new.html.erb_spec.rb
enju_biblio-0.2.0.beta.1 spec/views/resource_export_files/new.html.erb_spec.rb
enju_biblio-0.1.3 spec/views/resource_export_files/new.html.erb_spec.rb
enju_biblio-0.1.2 spec/views/resource_export_files/new.html.erb_spec.rb
enju_biblio-0.1.1 spec/views/resource_export_files/new.html.erb_spec.rb
enju_biblio-0.1.0 spec/views/resource_export_files/new.html.erb_spec.rb
enju_biblio-0.1.0.pre71 spec/views/resource_export_files/new.html.erb_spec.rb
enju_biblio-0.1.0.pre70 spec/views/resource_export_files/new.html.erb_spec.rb
enju_biblio-0.1.0.pre69 spec/views/resource_export_files/new.html.erb_spec.rb
enju_biblio-0.1.0.pre68 spec/views/resource_export_files/new.html.erb_spec.rb
enju_biblio-0.1.0.pre67 spec/views/resource_export_files/new.html.erb_spec.rb
enju_biblio-0.1.0.pre66 spec/views/resource_export_files/new.html.erb_spec.rb
enju_biblio-0.1.0.pre65 spec/views/resource_export_files/new.html.erb_spec.rb
enju_biblio-0.1.0.pre64 spec/views/resource_export_files/new.html.erb_spec.rb
enju_biblio-0.1.0.pre63 spec/views/resource_export_files/new.html.erb_spec.rb
enju_biblio-0.1.0.pre62 spec/views/resource_export_files/new.html.erb_spec.rb
enju_biblio-0.1.0.pre61 spec/views/resource_export_files/new.html.erb_spec.rb
enju_biblio-0.1.0.pre60 spec/views/resource_export_files/new.html.erb_spec.rb
enju_biblio-0.1.0.pre59 spec/views/resource_export_files/new.html.erb_spec.rb