Sha256: f99915c948873ab4844324db66683be1966537b72d3c1221e3542aa02a418b74

Contents?: true

Size: 329 Bytes

Versions: 1

Compression:

Stored size: 329 Bytes

Contents

require 'spec_helper'

describe CssController, type: :controller do
  subject { response }

  before do
    cache = Rails.root.join('tmp/cache')
    cache.rmtree if cache.exist?

    get :test
  end

  it { should be_success }
  its(:body) { should include('margin: 3rem;') }
  its(:body) { should include('margin: 60px;') }
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rails-pixrem-0.0.1 spec/rails-pixrem/rails_spec.rb