Add javascript tracker and give Blocmetrics the capability to receive and record events from the js tracker.

All tests still pass. 

On Jul 25, 2014, at 2:54 AM, Oliver Azevedo Barnes <notifications@github.com> wrote:

> In spec/controllers/api_controller_spec.rb:
> 
> >  
> > +    it 'only processes events from registered apps' do
> > +      expect {post :create, nonexistentapp_params, { 'CONTENT_TYPE' => 'application/json', 'ACCEPT' => 'application/json' } }.to raise_error(ActiveRecord::RecordNotFound, 'Couldn\'t find App with \'id\'=2')
> Update the test for the new error handler. Btw, this raises two flags to me as the peer reviewer: one is that you pushed your changes without your tests passing (since the new error handler should make this test break), and the other that you're out of the TDD loop again
> 
> —
> Reply to this email directly or view it on GitHub.
>