Sha256: f2ea013d9196a187f1ded9d674ca1ed69369389dde7d5336df194d3b0fb0c195

Contents?: true

Size: 316 Bytes

Versions: 2

Compression:

Stored size: 316 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::Test.new("someid")
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rainforest-1.0.4 test/rainforest/api_resource_test.rb
rainforest-1.0.3 test/rainforest/api_resource_test.rb