Sha256: 41e8e1e894f0d1a42ddaa7f9b0fe1d98edecb61cb11a80206cb2a49817e062c3
Contents?: true
Size: 503 Bytes
Versions: 16
Compression:
Stored size: 503 Bytes
Contents
require 'spec_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.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
16 entries across 16 versions & 2 rubygems