Permalink
Browse files

Inheritance

  • Loading branch information...
1 parent 803c7fd commit 172fa0b322cab7f78a578ed881520b85d2348b39 Simon committed Jun 16, 2010
Showing with 3 additions and 3 deletions.
  1. +1 −1 lib/provider/project.rb
  2. +1 −1 lib/provider/ticket.rb
  3. +1 −0 test/helper.rb
  4. +0 −1 test/test_ticketmaster-unfuddle.rb
View
@@ -1,6 +1,6 @@
module TicketMasterMod
module Unfuddle
- class Project
+ class Project < TicketMasterMod::Project
class << self
def find(query, options = {})
Unfuddler.authenticate(options[:authentication].to_hash)
View
@@ -1,6 +1,6 @@
module TicketMasterMod
module Unfuddle
- class Ticket
+ class Ticket < TicketMasterMod::Ticket
class << self
def create(ticket)
Unfuddler.authenticate(ticket.project.authentication.to_hash)
View
@@ -2,6 +2,7 @@
require 'test/unit'
require 'shoulda'
+require 'ticketmaster'
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
$LOAD_PATH.unshift(File.dirname(__FILE__))
require 'ticketmaster-unfuddle'
@@ -1,5 +1,4 @@
require 'helper'
-require 'ticketmaster'
class TestTicketmasterUnfuddle < Test::Unit::TestCase
context "Unfuddle" do

0 comments on commit 172fa0b

Please sign in to comment.