Rails引擎使用RSpec测试
Rails引擎默认使用MiniTest做测试。会在test目录下创建一个测试用的最小运行环境dummy。如果使用Rspec测试,dummy路径一般放在spec/dummy。
Posted by
songjian
on July 13, 2024 ·
2 mins read
使用libphonenumber解析、格式化和验证国际电话号码
Github仓库地址:https://github.com/google/libphonenumber
Posted by
songjian
on July 03, 2024 ·
1 min read
实验项目:Go+Rails远程文件管理
思路
Posted by
songjian
on June 21, 2024 ·
2 mins read
驯化FreeRDP:让远程桌面在独立工作区优雅启动
背景:为什么需要「驯化」FreeRDP?
Posted by
songjian
on June 17, 2024 ·
3 mins read
使用rbenv管理Ruby环境
卸载使用apt-get安装的ruby和gem
Posted by
songjian
on June 17, 2024 ·
1 min read