Sha256: b57d9d3df574bd9f54dbd4a180d4b11acfa99e90256f636d9683f53549adea73

Contents?: true

Size: 227 Bytes

Versions: 4

Compression:

Stored size: 227 Bytes

Contents

require 'spec_helper'

describe Shortener, type: :feature do
  it "includes 'short_url'-helper into public namespace" do
    visit root_path
    expect(page).to have_content(%r{http://www.example.com/[a-zA-Z0-9]{5}})
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
shortener-1.0.1 spec/features/shortener_feature_spec.rb
shortener-1.0.0 spec/features/shortener_feature_spec.rb
shortener-0.8.2 spec/features/shortener_feature_spec.rb
shortener-0.8.1 spec/features/shortener_feature_spec.rb