Sha256: 9d535f7fd5c6fc43a2affb7a4507cbd55f72b6cc775a5712956cc3e5f7b11d96

Contents?: true

Size: 471 Bytes

Versions: 16

Compression:

Stored size: 471 Bytes

Contents

require 'rails_helper'

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

  it "renders new 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_files_path, "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/new.html.erb_spec.rb
enju_event-0.4.0.rc.1 spec/views/event_export_files/new.html.erb_spec.rb
enju_event-0.3.4 spec/views/event_export_files/new.html.erb_spec.rb
enju_event-0.3.3 spec/views/event_export_files/new.html.erb_spec.rb
enju_event-0.4.0.beta.2 spec/views/event_export_files/new.html.erb_spec.rb
enju_event-0.4.0.beta.1 spec/views/event_export_files/new.html.erb_spec.rb
enju_event-0.3.2 spec/views/event_export_files/new.html.erb_spec.rb
enju_event-0.3.1 spec/views/event_export_files/new.html.erb_spec.rb
enju_event-0.3.0 spec/views/event_export_files/new.html.erb_spec.rb
enju_event-0.3.0.rc.1 spec/views/event_export_files/new.html.erb_spec.rb
enju_event-0.3.0.beta.1 spec/views/event_export_files/new.html.erb_spec.rb
enju_event-0.2.3 spec/views/event_export_files/new.html.erb_spec.rb
enju_event-0.2.2 spec/views/event_export_files/new.html.erb_spec.rb
enju_event-0.2.1 spec/views/event_export_files/new.html.erb_spec.rb
enju_event-0.2.0 spec/views/event_export_files/new.html.erb_spec.rb
enju_event-0.2.0.beta.4 spec/views/event_export_files/new.html.erb_spec.rb