Skip to content

Instantly share code, notes, and snippets.

View 03-test.rb
describe RBFS do
describe 'Directory' do
subject(:directory) { RBFS::Directory.new }
context 'with files and directories' do
let(:readme) { RBFS::File.new('Hello world!') }
let(:spec) { RBFS::File.new('describe RBFS') }
before(:each) do
directory.add_file('README', readme)