Sha256: e1a7850cabc77d8c87ce22caebc839ad75bbb380a35c5ab98f78b921e4c70200
Contents?: true
Size: 486 Bytes
Versions: 13
Compression:
Stored size: 486 Bytes
Contents
require File.join(File.dirname(__FILE__), 'test_helper') class BaseTest < Test::Unit::TestCase class SparseUser < Octopi::Base include Octopi::Resource attr_accessor :some_attribute find_path "/user/search/:query" resource_path "/user/show/:id" end def setup fake_everything end should "not raise an error if it doesn't know about the attributes that GitHub API provides" do assert_nothing_raised { SparseUser.find("radar") } end end
Version data entries
13 entries across 13 versions & 4 rubygems