Sha256: 57a0653a7704b94bb091e277f4876f157502eb9042919b5db6b4faf5c57a4fd5

Contents?: true

Size: 694 Bytes

Versions: 12

Compression:

Stored size: 694 Bytes

Contents

require 'test_helper'

describe 'basic assets type integration' do
  it 'css' do
    visit '/assets/css.css'
    page.html.wont_include 'Error'
    page.html.must_include 'color: red'
  end

  it 'sass' do
    visit '/assets/sass.css'
    page.html.wont_include 'Error'
    page.html.must_include 'color: red'
  end

  it 'scss' do
    visit '/assets/scss.css'
    page.html.wont_include 'Error'
    page.html.must_include 'color: red'
  end

  it 'js' do
    visit '/assets/js.js'
    page.html.wont_include 'Error'
    page.html.must_include 'alert(1);'
  end

  it 'coffee' do
    visit '/assets/coffee.js'
    page.html.wont_include 'Error'
    page.html.must_include 'alert(1);'
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
h2ocube_rails_assets-0.1.1 test/assets_test.rb
h2ocube_rails_assets-0.1.0 test/assets_test.rb
h2ocube_rails_assets-0.0.30 test/assets_test.rb
h2ocube_rails_assets-0.0.29 test/assets_test.rb
h2ocube_rails_assets-0.0.28 test/assets_test.rb
h2ocube_rails_assets-0.0.27 test/assets_test.rb
h2ocube_rails_assets-0.0.26 test/assets_test.rb
h2ocube_rails_assets-0.0.25 test/assets_test.rb
h2ocube_rails_assets-0.0.24 test/assets_test.rb
h2ocube_rails_assets-0.0.23 test/assets_test.rb
h2ocube_rails_assets-0.0.22 test/assets_test.rb
h2ocube_rails_assets-0.0.21 test/assets_test.rb