Sha256: 65ebbc1bfec31396f517355580e637d6378f90349432fe2549567e18489fb183

Contents?: true

Size: 499 Bytes

Versions: 6

Compression:

Stored size: 499 Bytes

Contents

require File.dirname(__FILE__) + "/helpers"

class IntegrityStylesheetTest < Test::Unit::AcceptanceTestCase
  story <<-EOS
    As a user,
    I want the stylesheet to work (even with Sinatra 0.9.1)
    So that Integrity isn't a PITA to use
  EOS

  scenario "browsing on some Integrity install" do
    visit "/integrity.css"

    assert_contain("body {")
    # TODO: better test
    assert_equal %Q{"2465c472aacf302259dde5146a841e45"},
      webrat_session.send(:response).headers["ETag"]
  end
end

Version data entries

6 entries across 6 versions & 3 rubygems

Version Path
foca-integrity-0.1.9.0 test/acceptance/stylesheet_test.rb
foca-integrity-0.1.9.1 test/acceptance/stylesheet_test.rb
oliyoung-integrity-0.1.9.0 test/acceptance/stylesheet_test.rb
integrity-0.1.9.0 test/acceptance/stylesheet_test.rb
integrity-0.1.9.1 test/acceptance/stylesheet_test.rb
integrity-0.1.9 test/acceptance/stylesheet_test.rb