Sha256: 14320dc886fa3435c733fc1ff5bf694f1d8a0a79582ef2662018ecf45f17343c

Contents?: true

Size: 315 Bytes

Versions: 3

Compression:

Stored size: 315 Bytes

Contents

# -*- coding: utf-8 -*-
require File.expand_path('../../test_helper', __FILE__)

module Rainforest
  class ApiResourceTest < ::Test::Unit::TestCase
    should "creating a new APIResource should not fetch over the network" do
      @mock.expects(:get).never
      c = Rainforest::Run.new("someid")
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rainforest-1.0.7 test/rainforest/api_resource_test.rb
rainforest-1.0.6 test/rainforest/api_resource_test.rb
rainforest-1.0.5 test/rainforest/api_resource_test.rb