KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
In my app, I have the following code: File.open "filename", "w" do |file| file.write("text") end I want to test this code via RSpec. What are the best practices for doing this?
Tags (comma-separated)
Save Edits
Cancel