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.6.12 spec/pugin/engine_spec.rb
pugin-1.6.11 spec/pugin/engine_spec.rb
pugin-1.6.10 spec/pugin/engine_spec.rb
pugin-1.6.9 spec/pugin/engine_spec.rb
pugin-1.6.8 spec/pugin/engine_spec.rb
pugin-1.6.7 spec/pugin/engine_spec.rb
pugin-1.6.6 spec/pugin/engine_spec.rb
pugin-1.6.5 spec/pugin/engine_spec.rb
pugin-1.6.4 spec/pugin/engine_spec.rb
pugin-1.6.3 spec/pugin/engine_spec.rb
pugin-1.6.1 spec/pugin/engine_spec.rb
pugin-1.6.0 spec/pugin/engine_spec.rb
pugin-1.5.1 spec/pugin/engine_spec.rb
pugin-1.5.0 spec/pugin/engine_spec.rb
pugin-1.4.1 spec/pugin/engine_spec.rb
pugin-1.4.0 spec/pugin/engine_spec.rb
pugin-1.3.1 spec/pugin/engine_spec.rb
pugin-1.3.0 spec/pugin/engine_spec.rb
pugin-1.2.5 spec/pugin/engine_spec.rb
pugin-1.2.4 spec/pugin/engine_spec.rb