How to get Asterisk working on OS X

CuMu.Li Comments Off
How to get Asterisk working on OS X After spending ages playing around with both Parallels and VMWare on OS X I’ve decided it’s probably easier if I get a local copy of Asterisk working rather than running it on a virtual machine. With the project I’m working on I need access to the files that Asterisk has created and was having problems getting the files between the the virtual machine and my Mac.
Read more »

Testing and refactoring too far?

CuMu.Li Comments Off

I’m just writing a load of unit tests for a project I’m working on and I’m thinking about two things. Firstly, how much do I need to test? I’m thinking I probably need to test everything that I put in a model, in case it gets changed at any point.

However, I’m finding myself repeating myself over and over again, which I don’t like and it’s not very dry, is it? I’ve already refactored a method which I’ve called assert_not_valid_with_missing which checks a list of symbols to check that if they aren’t included in the model then it’s not valid, for example assert_not_valid_with_missing :name, :address, :telephone_number etc.

Read more »
WP Theme & Icons by N.Design Studio
Entries RSS Comments RSS Log in