require 'spec_helper' require 'todos_export/std_out' describe TodosExport::StdOut do it '#output' do main = TodosExport::Main.new('spec/resources') main.find_exportables s = TodosExport::StdOut.new(main) s.output.should == "Todos ===== - Find a kinder message - Make a list - Add more cheese types - Add more region cheeses - Personalize the class to your taste - Be a better Ruby file Fixmes ====== - This is a useless class, what we really need to do is sit down and eat some cheese - Use case statement Bugs ==== - This should be false - This should say it's a Ruby file" end end