GithubHelp home page GithubHelp logo

danny3766 / fandext_interview_rb_10_implement_rspec_testing Goto Github PK

View Code? Open in Web Editor NEW

This project forked from fokayx/fandext_interview_rb

0.0 0.0 0.0 30 KB

fandext_interview_rb_question_10

JavaScript 3.11% Ruby 76.18% CSS 1.78% HTML 18.93%

fandext_interview_rb_10_implement_rspec_testing's Introduction

README

  • Ruby version: 3.1.2
  • procedue 主要作用為處理流程和程式邏輯,有助於controller 程式碼的整理,users_controller#create 及相關部份

  • 說明 user#create 流程裡面做了什麼事 ?成功會得到什麼結果?失敗會得到什麼結果?

  • 利用 Action Mailer 完成 procedue 裡面 send_welcome_mail,寄一封信給 user

  • test/controllers/users_controller_test.rb

    • 完成一個 create user succeeded 的測試
    • 完成一個 create user failed 的測試

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.