Sha256: ba617abfedfb9c51b42f621e5c0481deb9312c0d660828c883d54db3c2cacb06
Contents?: true
Size: 486 Bytes
Versions: 36
Compression:
Stored size: 486 Bytes
Contents
require 'rails_helper' describe "resource_export_files/new" do before(:each) do assign(:resource_export_file, stub_model(ResourceExportFile, user_id: 1).as_new_record) view.stub(:current_user).and_return(User.find(1)) end it "renders new 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_files_path, "post" do end end end
Version data entries
36 entries across 35 versions & 2 rubygems