run "rm spec/controllers/admin/dashboard_controller_spec.rb" create_file "spec/controllers/admin/dashboard_controller_spec.rb" do <<-'FILE' require "spec_helper" include Devise::TestHelpers describe Admin::DashboardController do let(:admin) { Fabricate(:admin) } before do sign_in(admin) end describe "GET 'index'" do it "should be successful" do get "index" response.should be_success end end end FILE end