Sha256: 65335041ec0520d1fff0af2b10c91c8b78a7c8fa7a1df882a003424e17639d93

Contents?: true

Size: 503 Bytes

Versions: 16

Compression:

Stored size: 503 Bytes

Contents

require 'rails_helper'

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

  it "renders the edit event_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=?]", event_export_file_path(@event_export_file), "post" do
    end
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
enju_event-0.3.5 spec/views/event_export_files/edit.html.erb_spec.rb
enju_event-0.4.0.rc.1 spec/views/event_export_files/edit.html.erb_spec.rb
enju_event-0.3.4 spec/views/event_export_files/edit.html.erb_spec.rb
enju_event-0.3.3 spec/views/event_export_files/edit.html.erb_spec.rb
enju_event-0.4.0.beta.2 spec/views/event_export_files/edit.html.erb_spec.rb
enju_event-0.4.0.beta.1 spec/views/event_export_files/edit.html.erb_spec.rb
enju_event-0.3.2 spec/views/event_export_files/edit.html.erb_spec.rb
enju_event-0.3.1 spec/views/event_export_files/edit.html.erb_spec.rb
enju_event-0.3.0 spec/views/event_export_files/edit.html.erb_spec.rb
enju_event-0.3.0.rc.1 spec/views/event_export_files/edit.html.erb_spec.rb
enju_event-0.3.0.beta.1 spec/views/event_export_files/edit.html.erb_spec.rb
enju_event-0.2.3 spec/views/event_export_files/edit.html.erb_spec.rb
enju_event-0.2.2 spec/views/event_export_files/edit.html.erb_spec.rb
enju_event-0.2.1 spec/views/event_export_files/edit.html.erb_spec.rb
enju_event-0.2.0 spec/views/event_export_files/edit.html.erb_spec.rb
enju_event-0.2.0.beta.4 spec/views/event_export_files/edit.html.erb_spec.rb