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