only slightly trimmed volt new output

This commit is contained in:
Torsten Ruger
2015-07-06 14:20:21 +03:00
commit d4803fe919
21 changed files with 552 additions and 0 deletions

View File

@ -0,0 +1,5 @@
require 'spec_helper'
describe 'sample http controller test', type: :http_controller do
# Specs here
end

View File

@ -0,0 +1,11 @@
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')
end
end

View File

@ -0,0 +1,5 @@
require 'spec_helper'
describe 'sample model' do
# Specs here
end

View File

@ -0,0 +1,5 @@
require 'spec_helper'
describe 'sample task', type: :task do
# Specs here
end

14
spec/spec_helper.rb Normal file
View File

@ -0,0 +1,14 @@
# Volt sets up rspec and capybara for testing.
require 'volt/spec/setup'
Volt.spec_setup
RSpec.configure do |config|
config.run_all_when_everything_filtered = true
config.filter_run :focus
# Run specs in random order to surface order dependencies. If you find an
# order dependency and want to debug it, you can fix the order by providing
# the seed, which is printed after each run.
# --seed 1234
config.order = 'random'
end