Skip to content

Instantly share code, notes, and snippets.

@jaylevitt
Created March 25, 2009 19:41
Show Gist options
  • Save jaylevitt/85665 to your computer and use it in GitHub Desktop.
Save jaylevitt/85665 to your computer and use it in GitHub Desktop.
ragtime% script/cucumber --verbose features
Ruby files required:
* features/support/env.rb
* features/support/paths.rb
* features/step_definitions/webrat_steps.rb
* features/step_definitions/site_steps.rb
Features:
* features/hello_world.feature
Feature: Hello, world
In order to get Ragtime bootstrapped
As a developer
I want to see "Hello, world" at /main
Scenario: visit ragtime # features/hello_world.feature:6
Given Im on the main page # features/step_definitions/site_steps.rb:1
Page load was not successful (Code: 500):
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Action Controller: Exception caught</title>
<style>
body { background-color: #fff; color: #333; }
body, p, ol, ul, td {
font-family: verdana, arial, helvetica, sans-serif;
font-size: 13px;
line-height: 18px;
}
pre {
background-color: #eee;
padding: 10px;
font-size: 11px;
}
a { color: #000; }
a:visited { color: #666; }
a:hover { color: #fff; background-color:#000; }
</style>
</head>
<body>
<h1>Template is missing</h1>
<p>Missing template main/index.erb in view path app/views</p>
</body>
</html> (Webrat::PageLoadError)
(eval):2:in `visit'
./features/step_definitions/site_steps.rb:2:in `/^Im on the main page$/'
features/hello_world.feature:7:in `Given Im on the main page'
Then I should see "Hello, world" # features/step_definitions/webrat_steps.rb:93
1 scenario
1 failed step
1 skipped step
##
ragtime% gem list -d aslakhellesoy-cucumber
*** LOCAL GEMS ***
aslakhellesoy-cucumber (0.2.2)
Author: Aslak Hellesøy
Rubyforge: http://rubyforge.org/projects/rspec
Homepage: http://cukes.info
Installed at: /Library/Ruby/Gems/1.8
Executable Feature scenarios
ragtime% gem list -d webrat
*** LOCAL GEMS ***
webrat (0.4.3)
Author: Bryan Helmkamp
Rubyforge: http://rubyforge.org/projects/webrat
Homepage: http://github.com/brynary/webrat
Installed at: /Library/Ruby/Gems/1.8
Webrat. Ruby Acceptance Testing for Web applications
ragtime% gem list -d rails
*** LOCAL GEMS ***
rails (2.3.2, 2.2.2, 2.1.1, 2.1.0, 2.0.2, 1.2.6)
Author: David Heinemeier Hansson
Rubyforge: http://rubyforge.org/projects/rails
Homepage: http://www.rubyonrails.org
Installed at (2.3.2): /Library/Ruby/Gems/1.8
(2.2.2): /Library/Ruby/Gems/1.8
(2.1.1): /Library/Ruby/Gems/1.8
(2.1.0): /Library/Ruby/Gems/1.8
(2.0.2): /Library/Ruby/Gems/1.8
(1.2.6): /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8
Web-application framework with template engine, control-flow layer,
and ORM.
ragtime% script/about
About your application's environment
Ruby version 1.8.6 (universal-darwin9.0)
RubyGems version 1.3.1
Rack version 1.0 bundled
Rails version 2.3.2
Active Record version 2.3.2
Action Pack version 2.3.2
Active Resource version 2.3.2
Action Mailer version 2.3.2
Active Support version 2.3.2
Application root /Users/jay/src/dmusic/ragtime
Environment development
Database adapter sqlite3
Database schema version 0
ragtime%
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment