Sha256: 0474afdc92878a0342d3e974f8fdd52b38ad125ed26abe4a7b032d4a02a04cad

Contents?: true

Size: 636 Bytes

Versions: 2

Compression:

Stored size: 636 Bytes

Contents

# encoding: utf-8
require 'spec_helper'

feature 'Asset pipeline' do
  scenario 'Browser requests application javascript' do
    visit asset_path('application.js')
    # save_and_open_page  # for debugging (opens page in browser)

    expect(page).to have_text(<<-EOF
    * @license jqGrid  4.6.0 - jQuery Grid
    * Copyright (c) 2008, Tony Tomov, tony@trirand.com
    EOF
    )
  end # scenario

  scenario 'Browser requests application stylesheet' do
    visit asset_path('application.css')
    # save_and_open_page  # for debugging (opens page in browser)

    expect(page).to have_text('.ui-jqgrid')
  end # scenario
end # feature

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
jqgrid-jquery-rails-4.6.1 spec/features/asset_pipeline_spec.rb
jqgrid-jquery-rails-4.6.0 spec/features/asset_pipeline_spec.rb