Skip to content

Instantly share code, notes, and snippets.

@dreamr
Created February 9, 2010 16:01
Show Gist options
  • Save dreamr/299343 to your computer and use it in GitHub Desktop.
Save dreamr/299343 to your computer and use it in GitHub Desktop.
~/development/oss/dream_gens (alex.heaton): autospec
loading autotest/cucumber_rspec
Warning: $KCODE is NONE.
/Library/Ruby/Gems/1.8/gems/treetop-1.4.3/lib/treetop/ruby_extensions/string.rb:31: warning: method redefined; discarding old indent
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby /Library/Ruby/Gems/1.8/gems/rspec-1.3.0/bin/spec --autospec /Users/dreamr/development/oss/dream_gens/spec/dream_feature_generator_spec.rb /Users/dreamr/development/oss/dream_gens/spec/dream_resource_generator_spec.rb -O spec/spec.opts
..........
Finished in 0.226597 seconds
10 examples, 0 failures
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby /Library/Ruby/Gems/1.8/gems/cucumber-0.6.2/bin/cucumber --format progress --format rerun --out /var/folders/nY/nYL4DqdQGL84A3-ZiZwoOU+++TI/-Tmp-/autotest-cucumber20100209-20107-1yah5s4-0 features
Using the default profile...
.........F...F........./Users/dreamr/development/oss/dream_gens/features/step_definitions/resource_steps.rb:27: warning: Object#type is deprecated; use Object#class
....F-..F--..F--
(::) failed steps (::)
expected true to be false (Spec::Expectations::ExpectationNotMetError)
./features/step_definitions/generator_steps.rb:16
./features/step_definitions/generator_steps.rb:14:in `each'
./features/step_definitions/generator_steps.rb:14:in `/^the following files should NOT be copied in to my project:$/'
features/_generate_resource.feature:33:in `And the following files should NOT be copied in to my project:'
expected true to be false (Spec::Expectations::ExpectationNotMetError)
./features/step_definitions/generator_steps.rb:16
./features/step_definitions/generator_steps.rb:14:in `each'
./features/step_definitions/generator_steps.rb:14:in `/^the following files should NOT be copied in to my project:$/'
features/_generate_resource.feature:49:in `And the following files should NOT be copied in to my project:'
expected "class UsersController < ApplicationController\nend\n" to match /def index/ (Spec::Expectations::ExpectationNotMetError)
./features/step_definitions/generator_steps.rb:41
./features/step_definitions/generator_steps.rb:39:in `each'
./features/step_definitions/generator_steps.rb:39:in `/^the "([^\"]*)" controller should contain actions:$/'
features/_generate_resource_correctly.feature:9:in `Then the "user" controller should contain actions:'
expected "class UsersController < ApplicationController\nend\n" to match /def index/ (Spec::Expectations::ExpectationNotMetError)
./features/step_definitions/generator_steps.rb:41
./features/step_definitions/generator_steps.rb:39:in `each'
./features/step_definitions/generator_steps.rb:39:in `/^the "([^\"]*)" controller should contain actions:$/'
features/_generate_resource_correctly.feature:28:in `Then the "user" controller should contain actions:'
expected "class UsersController < ApplicationController\nend\n" to match /def index/ (Spec::Expectations::ExpectationNotMetError)
./features/step_definitions/generator_steps.rb:41
./features/step_definitions/generator_steps.rb:39:in `each'
./features/step_definitions/generator_steps.rb:39:in `/^the "([^\"]*)" controller should contain actions:$/'
features/_generate_resource_correctly.feature:47:in `Then the "user" controller should contain actions:'
Failing Scenarios:
cucumber features/_generate_resource.feature:23 # Scenario: Developer calls dream_resource with: user email:string show index
cucumber features/_generate_resource.feature:40 # Scenario: Developer calls dream_resource with: user show index
cucumber features/_generate_resource_correctly.feature:6 # Scenario: Developer calls dream_resource with: user email:string
cucumber features/_generate_resource_correctly.feature:25 # Scenario: Developer calls dream_resource with: user email:string index new create show
cucumber features/_generate_resource_correctly.feature:44 # Scenario: Developer calls dream_resource with: user email:string index
10 scenarios (5 failed, 5 passed)
39 steps (5 failed, 5 skipped, 29 passed)
0m1.017s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment