Sha256: 0eac9165dad30a944c105947dbd7c6df1064998b02cf5b4bd10f11cd9f557ae1
Contents?: true
Size: 431 Bytes
Versions: 5
Compression:
Stored size: 431 Bytes
Contents
require "minitest/autorun" require "fakeweb" require "centrum_faktur" class MiniTest::Unit::TestCase def setup FakeWeb.allow_net_connect = false end # Recording response is as simple as writing in terminal: # curl -isu login:password 'https://subdomain.centrumfaktur.pl/api/1.0/customers/' -X GET > test/fixtures/customers.txt def fixture(filename) File.read(File.join("test", "fixtures", filename)) end end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
centrum_faktur-0.3.1 | test/helper.rb |
centrum_faktur-0.3.0 | test/helper.rb |
centrum_faktur-0.2.2 | test/helper.rb |
centrum_faktur-0.2.1 | test/helper.rb |
centrum_faktur-0.2.0 | test/helper.rb |