Sha256: b5de6430c724f00db6880dac0abe71b500b6dbb4f3923ddf42ae40139b4c5622

Contents?: true

Size: 737 Bytes

Versions: 1

Compression:

Stored size: 737 Bytes

Contents

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
  	Tablecloth 
  	written by Alen Grakalic, provided by Css Globe (cssglobe.com)
  	please visit http://cssglobe.com/lab/tablecloth/
    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(<<-EOF
  	TableCloth	
  	by Alen Grakalic, brought to you by cssglobe.com
    EOF
    )
  end # scenario
end # feature

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
tablecloth-rails-1.0.100 spec/features/asset_pipeline_spec.rb