Sha256: 4016663ff146469af164f032c1ea66943cf91c96af9c75b1a6780ce3d1226713
Contents?: true
Size: 485 Bytes
Versions: 26
Compression:
Stored size: 485 Bytes
Contents
require 'spec_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
26 entries across 26 versions & 1 rubygems