let(:parser) { TransactionDescriptionParser.new(keywords, sentence) }
context 'when sentence has correct grammatic' do
it { expect(parser.sentence_keywords).to eq(['Fresh Market']) }
end
Also I can use a FactorygGirl, to create the instances of the object. But this is only necessary when we are testing the model.
My first Pull request has too much errors, but was by don't think in other cases, for example:
- If i have a specials strings on the sentence
- If the word is not complete
Finally, Jesus explained me that the sintaxis on Ruby is the most import. In other words, i can read the code as a book.
The next week, i was in a new project called Gigger. On this Cardoce suggest me that do a Training about ruby on Rails. On this talk about how to develop a project on Ruby using Heroku (New for me). I don't finish the book right now, but i tried to finished this weekend and explain it in the next blog better.
On the same week, Carlos give to me of development a project "alone". The client is a American investor called Tristan. After that Carlos explain me the situation, i was nervous thinking: Holy Molly, where do i star?. The project consist a cast of files, between CSV to IIF. On this day i tried look the tools that Tristan give me. The first i investigate some about the iif file, because was the first time in hear it. When i see the Gem to work the project i say: "OMG this gem don't has support since 2012". After i open the excel file i can't understand it, them i ask for help to Jesus. He says me that the file was not a CSV file or something like that. Immediately i send a e mail to Tristan to explain me the file.
No hay comentarios:
Publicar un comentario