Sha256: 2c918db28a32940020202fc2ff01759561904197619e1d89233d9c2f6bb7305b

Contents?: true

Size: 438 Bytes

Versions: 94

Compression:

Stored size: 438 Bytes

Contents

require_relative '../spec_helper'

describe Pugin::Engine do
  describe 'asset pipeline integration', type: :feature do
    it 'exposes a compiled pugin/pugin.js file' do
      visit 'assets/pugin/pugin.js'

      expect(page.text).to include('document.body.classList.toggle(')
    end

    it 'exposes a compiled pugin/pugin.css file' do
      visit 'assets/pugin/pugin.css'

      expect(page.text).to include('html')
    end
  end
end

Version data entries

94 entries across 94 versions & 1 rubygems

Version Path
pugin-1.10.10 spec/pugin/engine_spec.rb
pugin-1.10.9 spec/pugin/engine_spec.rb
pugin-1.10.8 spec/pugin/engine_spec.rb
pugin-1.10.7 spec/pugin/engine_spec.rb
pugin-1.10.6 spec/pugin/engine_spec.rb
pugin-1.10.5 spec/pugin/engine_spec.rb
pugin-1.10.4 spec/pugin/engine_spec.rb
pugin-1.10.3 spec/pugin/engine_spec.rb
pugin-1.10.2 spec/pugin/engine_spec.rb
pugin-1.10.1 spec/pugin/engine_spec.rb
pugin-1.10.0 spec/pugin/engine_spec.rb
pugin-1.9.7 spec/pugin/engine_spec.rb
pugin-1.9.6 spec/pugin/engine_spec.rb
pugin-1.9.5 spec/pugin/engine_spec.rb
pugin-1.9.4 spec/pugin/engine_spec.rb
pugin-1.9.3 spec/pugin/engine_spec.rb
pugin-1.9.2 spec/pugin/engine_spec.rb
pugin-1.9.1 spec/pugin/engine_spec.rb
pugin-1.9.0 spec/pugin/engine_spec.rb
pugin-1.8.9 spec/pugin/engine_spec.rb