Sha256: 5b302fe3cb29c668e29d90814c6c0d81373d538d66a0a384d13fb5be4a461610

Contents?: true

Size: 180 Bytes

Versions: 4

Compression:

Stored size: 180 Bytes

Contents

module PageHelperMethods
  def cached_page_for(url)
    page = url[/s[0-9]{1,}.htm/]
    cached_page(page)
  end

  def cached_page(name)
    SPEC_DIR + "/pages/#{name}"
  end
end

Version data entries

4 entries across 4 versions & 3 rubygems

Version Path
abcde-at-the-movies-0.1.0 spec/helpers/page.rb
abcde-atthemovies-0.0.6 spec/helpers/page.rb
abcde-atthemovies-0.0.7 spec/helpers/page.rb
at-the-movies-0.1.0 spec/helpers/page.rb