From d05f6b1a7b3c03383f6c8c2fcfe22a2aafe2412c Mon Sep 17 00:00:00 2001 From: cadorn Date: Sun, 18 Sep 2011 12:09:55 -0700 Subject: [PATCH] Fixed sourcemint adapter and test --- services/sourcemint.rb | 2 +- test/sourcemint_test.rb | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/services/sourcemint.rb b/services/sourcemint.rb index fd4ac60e1..17943f6d3 100644 --- a/services/sourcemint.rb +++ b/services/sourcemint.rb @@ -1,4 +1,4 @@ -class Service::GitLive < Service +class Service::Sourcemint < Service self.title = 'sourcemint' def receive_push http_post 'http://api.sourcemint.com/actions/post-commit', diff --git a/test/sourcemint_test.rb b/test/sourcemint_test.rb index ab52b2204..7dce2c988 100644 --- a/test/sourcemint_test.rb +++ b/test/sourcemint_test.rb @@ -1,6 +1,6 @@ require File.expand_path('../helper', __FILE__) -class AcunoteTest < Service::TestCase +class SourcemintTest < Service::TestCase def setup @stubs = Faraday::Adapter::Test::Stubs.new end @@ -17,7 +17,7 @@ def test_push end def service(*args) - super Service::Acunote, *args + super Service::Sourcemint, *args end end