Skip to content

Commit

Permalink
Inheritance
Browse files Browse the repository at this point in the history
  • Loading branch information
Simon committed Jun 16, 2010
1 parent 803c7fd commit 172fa0b
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/provider/project.rb
@@ -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)
Expand Down
2 changes: 1 addition & 1 deletion lib/provider/ticket.rb
@@ -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)
Expand Down
1 change: 1 addition & 0 deletions test/helper.rb
Expand Up @@ -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'
Expand Down
1 change: 0 additions & 1 deletion test/test_ticketmaster-unfuddle.rb
@@ -1,5 +1,4 @@
require 'helper'
require 'ticketmaster'

class TestTicketmasterUnfuddle < Test::Unit::TestCase
context "Unfuddle" do
Expand Down

0 comments on commit 172fa0b

Please sign in to comment.