PhantomJS在新Volt应用程序中加载问题

时间:2015-08-24 19:27:08

标签: ruby phantomjs voltrb opalrb

我试图运行

BROWSER=phantom rspec spec

在新创建的Volt App上,出现以下错误:

WARNING: LoadError: cannot load such file -- volt/views/notices/index
# ... continues for some time ...

这是一个非常默认的规范:

require 'spec_helper'

describe 'sample integration test', type: :feature do
  # An example integration spec, this will only be run if ENV['BROWSER'] is
  # specified.  Current values for ENV['BROWSER'] are 'firefox' and 'phantom'
  it 'should load the page' do
    visit '/'

    expect(page).to have_content('Home')
    puts '======'
  end
end

请注意,这是默认的规格设置。我在这里错过了什么吗?

0 个答案:

没有答案