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.18 spec/views/resource_export_files/edit.html.erb_spec.rb
enju_biblio-0.3.17 spec/views/resource_export_files/edit.html.erb_spec.rb
enju_biblio-0.3.16 spec/views/resource_export_files/edit.html.erb_spec.rb
enju_biblio-0.3.15 spec/views/resource_export_files/edit.html.erb_spec.rb
enju_biblio-0.3.14 spec/views/resource_export_files/edit.html.erb_spec.rb
enju_biblio-0.3.13 spec/views/resource_export_files/edit.html.erb_spec.rb
enju_biblio-0.3.12 spec/views/resource_export_files/edit.html.erb_spec.rb
enju_biblio-0.3.11 spec/views/resource_export_files/edit.html.erb_spec.rb
enju_biblio-0.3.10 spec/views/resource_export_files/edit.html.erb_spec.rb
enju_biblio-0.3.10.rc.3 spec/views/resource_export_files/edit.html.erb_spec.rb
enju_biblio-0.3.10.rc.2 spec/views/resource_export_files/edit.html.erb_spec.rb
enju_biblio-0.3.10.rc.1 spec/views/resource_export_files/edit.html.erb_spec.rb
enju_biblio-0.3.9 spec/views/resource_export_files/edit.html.erb_spec.rb
enju_biblio-0.4.0.rc.1 spec/views/resource_export_files/edit.html.erb_spec.rb
enju_biblio-0.3.8 spec/views/resource_export_files/edit.html.erb_spec.rb
enju_biblio-0.3.7 spec/views/resource_export_files/edit.html.erb_spec.rb
enju_biblio-0.3.6 spec/views/resource_export_files/edit.html.erb_spec.rb
enju_biblio-0.4.0.beta.2 spec/views/resource_export_files/edit.html.erb_spec.rb
enju_biblio-0.4.0.beta.1 spec/views/resource_export_files/edit.html.erb_spec.rb
enju_biblio-0.3.5 spec/views/resource_export_files/edit.html.erb_spec.rb