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.1.0.pre58 spec/views/resource_export_files/edit.html.erb_spec.rb
enju_biblio-0.1.0.pre57 spec/views/resource_export_files/edit.html.erb_spec.rb
enju_biblio-0.1.0.pre56 spec/views/resource_export_files/edit.html.erb_spec.rb
enju_biblio-0.1.0.pre55 spec/views/resource_export_files/edit.html.erb_spec.rb
enju_biblio-0.1.0.pre54 spec/views/resource_export_files/edit.html.erb_spec.rb
enju_biblio-0.1.0.pre53 spec/views/resource_export_files/edit.html.erb_spec.rb