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