Sha256: 10d7d009255f6f8444810cc121bcfad80b5f6e76b38665262d2a1b152eb5b117

Contents?: true

Size: 523 Bytes

Versions: 26

Compression:

Stored size: 523 Bytes

Contents

require 'spec_helper'

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

  it "renders the edit 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_file_path(@resource_export_file), "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/edit.html.erb_spec.rb
enju_biblio-0.2.0.beta.2 spec/views/resource_export_files/edit.html.erb_spec.rb
enju_biblio-0.2.0.beta.1 spec/views/resource_export_files/edit.html.erb_spec.rb
enju_biblio-0.1.3 spec/views/resource_export_files/edit.html.erb_spec.rb
enju_biblio-0.1.2 spec/views/resource_export_files/edit.html.erb_spec.rb
enju_biblio-0.1.1 spec/views/resource_export_files/edit.html.erb_spec.rb
enju_biblio-0.1.0 spec/views/resource_export_files/edit.html.erb_spec.rb
enju_biblio-0.1.0.pre71 spec/views/resource_export_files/edit.html.erb_spec.rb
enju_biblio-0.1.0.pre70 spec/views/resource_export_files/edit.html.erb_spec.rb
enju_biblio-0.1.0.pre69 spec/views/resource_export_files/edit.html.erb_spec.rb
enju_biblio-0.1.0.pre68 spec/views/resource_export_files/edit.html.erb_spec.rb
enju_biblio-0.1.0.pre67 spec/views/resource_export_files/edit.html.erb_spec.rb
enju_biblio-0.1.0.pre66 spec/views/resource_export_files/edit.html.erb_spec.rb
enju_biblio-0.1.0.pre65 spec/views/resource_export_files/edit.html.erb_spec.rb
enju_biblio-0.1.0.pre64 spec/views/resource_export_files/edit.html.erb_spec.rb
enju_biblio-0.1.0.pre63 spec/views/resource_export_files/edit.html.erb_spec.rb
enju_biblio-0.1.0.pre62 spec/views/resource_export_files/edit.html.erb_spec.rb
enju_biblio-0.1.0.pre61 spec/views/resource_export_files/edit.html.erb_spec.rb
enju_biblio-0.1.0.pre60 spec/views/resource_export_files/edit.html.erb_spec.rb
enju_biblio-0.1.0.pre59 spec/views/resource_export_files/edit.html.erb_spec.rb