Sha256: 0aa9e0c65b8ee6cfa823aee6a6f9b8be2daa8e15bf15616174e78461e82ff6df

Contents?: true

Size: 447 Bytes

Versions: 2

Compression:

Stored size: 447 Bytes

Contents

require 'spec_helper'

describe Trackerific::Services::Base do
  describe "#register" do
    it "should register the service" do
      # these classes were set up in support/test_services.rb
      Trackerific::Services[:test].should eq TestService
      Trackerific::Services[:another_test_service].should eq AnotherTestService
      TestService.name.should eq :test
      AnotherTestService.name.should eq :another_test_service
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
trackerific-0.7.1 spec/lib/trackerific/services/base_spec.rb
trackerific-0.7.0 spec/lib/trackerific/services/base_spec.rb