Sha256: 4399abf964a5faa826505980bde382cd5668abc6793957beb4b7d64231958ba3

Contents?: true

Size: 491 Bytes

Versions: 2

Compression:

Stored size: 491 Bytes

Contents

require_relative 'minitest_helper'

class TestFetchNetFileIntegration < MiniTest::Unit::TestCase
  def subject
    Annal::Fetch::NetFile
  end

  def test_fetch
    read = subject.new(json_url).read
    assert_match 'development_environment', read
  end

  def test_double_read
    fetch = subject.new(json_url)
    assert_match 'development_environment', fetch.read
    assert_match 'development_environment', fetch.read
  end

  # def test_crazy_pants
  #   stub_rest_client!
  # end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
annal-0.0.4 test/net_file_integration_test.rb
annal-0.0.3 test/net_file_integration_test.rb