Skip to content

Instantly share code, notes, and snippets.

View georgidimov's full-sized avatar

Georgi Dimov georgidimov

  • Sofia, Bulgaria
View GitHub Profile
@georgidimov
georgidimov / 03-test.rb
Created January 17, 2015 14:15
Homework 3 tests
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)