我试图运行
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
请注意,这是默认的规格设置。我在这里错过了什么吗?