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.8.8 spec/pugin/engine_spec.rb
pugin-1.8.7 spec/pugin/engine_spec.rb
pugin-1.8.6 spec/pugin/engine_spec.rb
pugin-1.8.5 spec/pugin/engine_spec.rb
pugin-1.8.4 spec/pugin/engine_spec.rb
pugin-1.8.3 spec/pugin/engine_spec.rb
pugin-1.8.2 spec/pugin/engine_spec.rb
pugin-1.8.0 spec/pugin/engine_spec.rb
pugin-1.7.0 spec/pugin/engine_spec.rb
pugin-1.6.23 spec/pugin/engine_spec.rb
pugin-1.6.22 spec/pugin/engine_spec.rb
pugin-1.6.21 spec/pugin/engine_spec.rb
pugin-1.6.20 spec/pugin/engine_spec.rb
pugin-1.6.19 spec/pugin/engine_spec.rb
pugin-1.6.18 spec/pugin/engine_spec.rb
pugin-1.6.17 spec/pugin/engine_spec.rb
pugin-1.6.16 spec/pugin/engine_spec.rb
pugin-1.6.15 spec/pugin/engine_spec.rb
pugin-1.6.14 spec/pugin/engine_spec.rb
pugin-1.6.13 spec/pugin/engine_spec.rb