Sha256: 7ab3f45a377d2fe310138fb875f6f1f6c3e04be2e00b4088c732445320c7fd68

Contents?: true

Size: 524 Bytes

Versions: 36

Compression:

Stored size: 524 Bytes

Contents

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

36 entries across 35 versions & 2 rubygems

Version Path
enju_biblio-0.3.4 spec/views/resource_export_files/edit.html.erb_spec.rb
enju_biblio-0.3.3 spec/views/resource_export_files/edit.html.erb_spec.rb
enju_biblio-0.3.2 spec/views/resource_export_files/edit.html.erb_spec.rb
enju_biblio-0.3.1 spec/views/resource_export_files/edit.html.erb_spec.rb
enju_biblio-0.3.0 spec/views/resource_export_files/edit.html.erb_spec.rb
enju_biblio-0.3.0.rc.1 spec/views/resource_export_files/edit.html.erb_spec.rb
enju_biblio-0.3.0.beta.2 spec/views/resource_export_files/edit.html.erb_spec.rb
enju_biblio-0.2.5 spec/views/resource_export_files/edit.html.erb_spec.rb
enju_biblio-0.2.4 spec/views/resource_export_files/edit.html.erb_spec.rb
enju_biblio-0.2.3 spec/views/resource_export_files/edit.html.erb_spec.rb
enju_biblio-0.2.2 spec/views/resource_export_files/edit.html.erb_spec.rb
enju_leaf-1.2.1 vendor/bundle/ruby/2.3/gems/enju_biblio-0.2.1/spec/views/resource_export_files/edit.html.erb_spec.rb
enju_leaf-1.2.1 vendor/bundle/ruby/2.3/gems/enju_biblio-0.2.0/spec/views/resource_export_files/edit.html.erb_spec.rb
enju_biblio-0.2.1 spec/views/resource_export_files/edit.html.erb_spec.rb
enju_biblio-0.2.0 spec/views/resource_export_files/edit.html.erb_spec.rb
enju_biblio-0.2.0.beta.4 spec/views/resource_export_files/edit.html.erb_spec.rb