add support for Github Deployment API

implements #120
Because it's not a ActiveRecord model -> not using ActiveSupport::TestCase
as superclass, might be able to do `type: ActiveSupport::TestCase` in the
outermost describe ... otherwise just leave it and I'll try to do some
general fix

On Thu, Oct 9, 2014 at 1:39 PM, ☃ pitr <notifications@github.com> wrote:

> In test/models/github_deployment_test.rb:
>
> > @@ -0,0 +1,38 @@
> > +require "test_helper"
> > +
> > +describe GithubDeployment do
> > +  let(:user) { User.new(name: "some_user") }
> > +  let(:project) { Project.create(name: "glitter", repository_url: "git@github.com:org/glitter.git") }
>
> i can't for the life of me figure out why fixtures aren't working in
> GithubDeployment test file. I get the following:
>
> NoMethodError: undefined method `stages' for #<#<Class:0x007fbf74f31890>:0x007fbf74132370>
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/zendesk/samson/pull/122/files#r18672595>.
>