On Thu, 2011-01-13 at 14:40 +0100, [email protected] wrote:
> From: Tomas Sedovic <[email protected]>
> 
> NOTE about running Cucumber tests with Solr:
> 
> The tests require that the Solr server be running. This is analogous to having
> the Deltacloud API server up. You start it thusly:
> 
>     $ rake sunspot:solr:start RAILS_ENV=cucumber
> 
> And then run the tests as usual:
> 
>     $ rake cucumber
> ---

Just so we don't forget to look at it (I'll try to on Monday if I have
time):  These tests run fine on sqlite, but with postgres fail with the
following:

Couldn't find HardwareProfile with ID=1 (ActiveRecord::RecordNotFound)
./app/controllers/admin/hardware_profiles_controller.rb:22:in `show'
/usr/lib/ruby/1.8/benchmark.rb:308:in `realtime'
./features/step_definitions/web_steps.rb:38:in `/^(?:|I )follow
"([^"]*)"$/'
features/hardware_profile.feature:31:in `When I follow "m1-small"'

Couldn't find HardwareProfile with ID=1 (ActiveRecord::RecordNotFound)
./app/controllers/admin/hardware_profiles_controller.rb:22:in `show'
/usr/lib/ruby/1.8/benchmark.rb:308:in `realtime'
./features/step_definitions/web_steps.rb:38:in `/^(?:|I )follow
"([^"]*)"$/'
features/hardware_profile.feature:47:in `When I follow "m1-small"'

Failing Scenarios:
cucumber features/hardware_profile.feature:24 # Scenario: View a
Hardware Profiles Properties
cucumber features/hardware_profile.feature:39 # Scenario: View a Front
End Hardware Profiles Matching Provider Hardware Profiles

-j

_______________________________________________
deltacloud-devel mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/deltacloud-devel

Reply via email to