Sha256: 10f69f03bc27c53b7c009ef295d3e879b864255fb8141d11bd249ec218de31a2

Contents?: true

Size: 214 Bytes

Versions: 1

Compression:

Stored size: 214 Bytes

Contents

# encoding: utf-8
require 'spec_helper'



describe Rack::BodyClasses do
  it "returns body classes" do
    get '/'
    last_response.body.must_match(/<body class="unknown-device other other0"><\/body>/)
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rack-body_classes-1.0.2 spec/rack/body_classes_spec.rb