spec/features/asset_pipeline_spec.rb in github-css-rails-1.1.1 vs spec/features/asset_pipeline_spec.rb in github-css-rails-1.1.2
- old
+ new
@@ -1,9 +1,10 @@
require 'spec_helper'
feature 'Asset pipeline' do
scenario 'Browser requests application stylesheet' do
- visit '/assets/application.css'
+ visit asset_path('application.css')
+ # save_and_open_page # for debugging (opens page in browser)
expect(page).to have_text(<<-EOF
/* Github Markdown Stylesheet */
/* Based on https://gist.github.com/3331384 */
EOF