Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- aelkiss@claret:~/fauxpaas$ be rspec -t integration
- Run options: include {:integration=>true}
- integration tests
- deploy
- without rails
- the 'releases' dir exists (FAILED - 1)
- the 'current' dir exists (FAILED - 2)
- installs unshared files (FAILED - 3)
- sets unshared files to be readable only by the application user
- installs shared files (FAILED - 4)
- sets shared files to be readable only by the application user
- runs after_build commands (FAILED - 5)
- installs the gems (FAILED - 6)
- installs the source files (FAILED - 7)
- git: 'discard' is not a git command. See 'git --help'.
- git: 'discard' is not a git command. See 'git --help'.
- with rails
- the 'releases' dir exists (FAILED - 8)
- the 'current' dir exists (FAILED - 9)
- installs unshared files (FAILED - 10)
- sets unshared files to be readable only by the application user
- installs shared files (FAILED - 11)
- sets shared files to be readable only by the application user
- runs after_build commands (FAILED - 12)
- installs the gems (FAILED - 13)
- installs the source files (FAILED - 14)
- Error: unable to open database "/tmp/fauxpaas/sandbox/test-rails/current/db/production.sqlite3": unable to open database file
- runs the migrations (FAILED - 15)
- installs a working project (FAILED - 16)
- git: 'discard' is not a git command. See 'git --help'.
- git: 'discard' is not a git command. See 'git --help'.
- Failures:
- 1) integration tests deploy without rails the 'releases' dir exists
- Failure/Error: expect((root/"releases").exist?).to be true
- expected true
- got false
- Shared Example Group: "a successful deploy" called from ./spec/integration_spec.rb:95
- # ./spec/integration_spec.rb:52:in `block (4 levels) in <module:Fauxpaas>'
- 2) integration tests deploy without rails the 'current' dir exists
- Failure/Error: expect(current_dir.exist?).to be true
- expected true
- got false
- Shared Example Group: "a successful deploy" called from ./spec/integration_spec.rb:95
- # ./spec/integration_spec.rb:55:in `block (4 levels) in <module:Fauxpaas>'
- 3) integration tests deploy without rails installs unshared files
- Failure/Error: expect(File.read(current_dir/"some"/"dev"/"file.txt")).to eql("with some dev contents\n")
- Errno::ENOENT:
- No such file or directory @ rb_sysopen - /tmp/fauxpaas/sandbox/test-norails/current/some/dev/file.txt
- Shared Example Group: "a successful deploy" called from ./spec/integration_spec.rb:95
- # ./spec/integration_spec.rb:58:in `read'
- # ./spec/integration_spec.rb:58:in `block (4 levels) in <module:Fauxpaas>'
- 4) integration tests deploy without rails installs shared files
- Failure/Error:
- expect(File.read(current_dir/"some"/"shared"/"file.txt"))
- .to eql("with some shared contents\n")
- Errno::ENOENT:
- No such file or directory @ rb_sysopen - /tmp/fauxpaas/sandbox/test-norails/current/some/shared/file.txt
- Shared Example Group: "a successful deploy" called from ./spec/integration_spec.rb:95
- # ./spec/integration_spec.rb:66:in `read'
- # ./spec/integration_spec.rb:66:in `block (4 levels) in <module:Fauxpaas>'
- 5) integration tests deploy without rails runs after_build commands
- Failure/Error: expect((current_dir/"eureka_2.txt").exist?).to be true
- expected true
- got false
- Shared Example Group: "a successful deploy" called from ./spec/integration_spec.rb:95
- # ./spec/integration_spec.rb:75:in `block (4 levels) in <module:Fauxpaas>'
- 6) integration tests deploy without rails installs the gems
- Failure/Error:
- Dir.chdir(current_dir) do
- expect(`BUNDLE_GEMFILE=#{current_dir/"Gemfile"} bundle list`).to match(/#{gem}/)
- end
- Errno::ENOENT:
- No such file or directory @ dir_chdir - /tmp/fauxpaas/sandbox/test-norails/current
- Shared Example Group: "a successful deploy" called from ./spec/integration_spec.rb:95
- # ./spec/integration_spec.rb:80:in `chdir'
- # ./spec/integration_spec.rb:80:in `block (4 levels) in <module:Fauxpaas>'
- 7) integration tests deploy without rails installs the source files
- Failure/Error:
- expect((current_dir/source).exist?)
- .to be true
- expected true
- got false
- Shared Example Group: "a successful deploy" called from ./spec/integration_spec.rb:95
- # ./spec/integration_spec.rb:85:in `block (4 levels) in <module:Fauxpaas>'
- 8) integration tests deploy with rails the 'releases' dir exists
- Failure/Error: expect((root/"releases").exist?).to be true
- expected true
- got false
- Shared Example Group: "a successful deploy" called from ./spec/integration_spec.rb:103
- # ./spec/integration_spec.rb:52:in `block (4 levels) in <module:Fauxpaas>'
- 9) integration tests deploy with rails the 'current' dir exists
- Failure/Error: expect(current_dir.exist?).to be true
- expected true
- got false
- Shared Example Group: "a successful deploy" called from ./spec/integration_spec.rb:103
- # ./spec/integration_spec.rb:55:in `block (4 levels) in <module:Fauxpaas>'
- 10) integration tests deploy with rails installs unshared files
- Failure/Error: expect(File.read(current_dir/"some"/"dev"/"file.txt")).to eql("with some dev contents\n")
- Errno::ENOENT:
- No such file or directory @ rb_sysopen - /tmp/fauxpaas/sandbox/test-rails/current/some/dev/file.txt
- Shared Example Group: "a successful deploy" called from ./spec/integration_spec.rb:103
- # ./spec/integration_spec.rb:58:in `read'
- # ./spec/integration_spec.rb:58:in `block (4 levels) in <module:Fauxpaas>'
- 11) integration tests deploy with rails installs shared files
- Failure/Error:
- expect(File.read(current_dir/"some"/"shared"/"file.txt"))
- .to eql("with some shared contents\n")
- Errno::ENOENT:
- No such file or directory @ rb_sysopen - /tmp/fauxpaas/sandbox/test-rails/current/some/shared/file.txt
- Shared Example Group: "a successful deploy" called from ./spec/integration_spec.rb:103
- # ./spec/integration_spec.rb:66:in `read'
- # ./spec/integration_spec.rb:66:in `block (4 levels) in <module:Fauxpaas>'
- 12) integration tests deploy with rails runs after_build commands
- Failure/Error: expect((current_dir/"eureka_2.txt").exist?).to be true
- expected true
- got false
- Shared Example Group: "a successful deploy" called from ./spec/integration_spec.rb:103
- # ./spec/integration_spec.rb:75:in `block (4 levels) in <module:Fauxpaas>'
- 13) integration tests deploy with rails installs the gems
- Failure/Error:
- Dir.chdir(current_dir) do
- expect(`BUNDLE_GEMFILE=#{current_dir/"Gemfile"} bundle list`).to match(/#{gem}/)
- end
- Errno::ENOENT:
- No such file or directory @ dir_chdir - /tmp/fauxpaas/sandbox/test-rails/current
- Shared Example Group: "a successful deploy" called from ./spec/integration_spec.rb:103
- # ./spec/integration_spec.rb:80:in `chdir'
- # ./spec/integration_spec.rb:80:in `block (4 levels) in <module:Fauxpaas>'
- 14) integration tests deploy with rails installs the source files
- Failure/Error:
- expect((current_dir/source).exist?)
- .to be true
- expected true
- got false
- Shared Example Group: "a successful deploy" called from ./spec/integration_spec.rb:103
- # ./spec/integration_spec.rb:85:in `block (4 levels) in <module:Fauxpaas>'
- 15) integration tests deploy with rails runs the migrations
- Failure/Error:
- expect(`sqlite3 #{current_dir/"db"/"production.sqlite3"} ".schema posts"`.chomp)
- .to match(/CREATE TABLE (IF NOT EXISTS )?"posts"/)
- expected "" to match /CREATE TABLE (IF NOT EXISTS )?"posts"/
- Diff:
- @@ -1,2 +1,2 @@
- -/CREATE TABLE (IF NOT EXISTS )?"posts"/
- +""
- # ./spec/integration_spec.rb:106:in `block (4 levels) in <module:Fauxpaas>'
- 16) integration tests deploy with rails installs a working project
- Failure/Error: expect(status.success?).to be true
- expected true
- got false
- # ./spec/integration_spec.rb:116:in `block (4 levels) in <module:Fauxpaas>'
- Finished in 1.16 seconds (files took 0.29455 seconds to load)
- 20 examples, 16 failures
- Failed examples:
- rspec ./spec/integration_spec.rb[1:1:1:1] # integration tests deploy without rails the 'releases' dir exists
- rspec ./spec/integration_spec.rb[1:1:1:2] # integration tests deploy without rails the 'current' dir exists
- rspec ./spec/integration_spec.rb[1:1:1:3] # integration tests deploy without rails installs unshared files
- rspec ./spec/integration_spec.rb[1:1:1:5] # integration tests deploy without rails installs shared files
- rspec ./spec/integration_spec.rb[1:1:1:7] # integration tests deploy without rails runs after_build commands
- rspec ./spec/integration_spec.rb[1:1:1:8] # integration tests deploy without rails installs the gems
- rspec ./spec/integration_spec.rb[1:1:1:9] # integration tests deploy without rails installs the source files
- rspec ./spec/integration_spec.rb[1:1:2:1] # integration tests deploy with rails the 'releases' dir exists
- rspec ./spec/integration_spec.rb[1:1:2:2] # integration tests deploy with rails the 'current' dir exists
- rspec ./spec/integration_spec.rb[1:1:2:3] # integration tests deploy with rails installs unshared files
- rspec ./spec/integration_spec.rb[1:1:2:5] # integration tests deploy with rails installs shared files
- rspec ./spec/integration_spec.rb[1:1:2:7] # integration tests deploy with rails runs after_build commands
- rspec ./spec/integration_spec.rb[1:1:2:8] # integration tests deploy with rails installs the gems
- rspec ./spec/integration_spec.rb[1:1:2:9] # integration tests deploy with rails installs the source files
- rspec ./spec/integration_spec.rb:105 # integration tests deploy with rails runs the migrations
- rspec ./spec/integration_spec.rb:112 # integration tests deploy with rails installs a working project
- Coverage report generated for RSpec to /home/aelkiss/fauxpaas/coverage. 595 / 735 LOC (80.95%) covered.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement