Sha256: 897b654a26cd4173a3a4a9c36add1d0a7fb89cc2940c599a86716b63bd07a003
Contents?: true
Size: 513 Bytes
Versions: 32
Compression:
Stored size: 513 Bytes
Contents
require 'rails_helper' describe "user_export_files/new" do before(:each) do assign(:user_export_file, stub_model( UserExportFile ).as_new_record) view.stub(:current_user).and_return(User.friendly.find('enjuadmin')) end it "renders new user form" do render # Run the generator again with the --webrat flag if you want to use webrat matchers assert_select "form", action: user_export_files_path, method: "post" do assert_select "input", name: "commit" end end end
Version data entries
32 entries across 30 versions & 2 rubygems