Sha256: 7f203d6935f13679a156c5d3b13dd21e55f254020d289e7fb1e700ae6f5f1651

Contents?: true

Size: 415 Bytes

Versions: 2

Compression:

Stored size: 415 Bytes

Contents

# frozen_string_literal: true

require './lib/ramparts'
require_relative '../data/url_data/truthy_url_data'
require_relative '../data/url_data/falsy_url_data'

describe '#count_urls' do
  it 'parses a number of positive test blocks correctly' do
    test_truthy_count(URL_TRUTHY, :count_urls)
  end

  it 'parses a number of negative test blocks correctly' do
    test_falsy_count(URL_FALSY, :count_urls)
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ramparts-0.3.1 spec/parsers/url_parser_spec.rb
ramparts-0.3.0 spec/parsers/url_parser_spec.rb