Sha256: 090d704f7d89247814427e233f16c024cda8095d2de2b1d14440a4cb06a404ed

Contents?: true

Size: 450 Bytes

Versions: 2

Compression:

Stored size: 450 Bytes

Contents

require_relative 'minitest_helper'

class TestFetchIntegration < MiniTest::Unit::TestCase

  def test_fetch
    read = Annal::Fetch.new("#{Annal.project_root}/test/test.json").read
    assert_match 'development_environment', read
  end

  def test_double_read
    fetch = Annal::Fetch.new("#{Annal.project_root}/test/test.json")
    assert_match 'development_environment', fetch.read
    assert_match 'development_environment', fetch.read
  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
annal-0.0.2 test/fetch_integration_spec.rb
annal-0.0.1 test/fetch_integration_spec.rb