Created
April 6, 2012 19:01
-
-
Save MarkBennett/2322090 to your computer and use it in GitHub Desktop.
Failing specs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Obj < ActiveRecord::Base | |
acts_as_gmappable :lat => 'lat', :lng => 'lng', :process_geocoding => true, | |
:check_process => :prevent_geocoding, :address => :address, | |
:msg => 'Cannot find a location matching that query.' | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@obj_1 = Obj.create!({:name => "Obj 1", | |
:gmaps => true, | |
:city => 'Edmonton', | |
:province => 'AB', | |
:street2 => '', | |
:postal_code => 'T5N1Y6', | |
:street1 => '131 St NW', | |
:slug => 'obj_1' | |
}) | |
@obj_2 = Obj.create!({:name => "Obj 2", | |
:gmaps => true, | |
:city => 'Edmonton', | |
:province => 'AB', | |
:street2 => '', | |
:postal_code => 'T5S1R5', | |
:street1 => '178 St NW', | |
:dietary_accommodations => true, | |
:slug => 'obj_2'}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Started by user MarkBennett | |
Building in workspace /var/lib/jenkins/jobs/proj1/workspace | |
Checkout:workspace / /var/lib/jenkins/jobs/proj1/workspace - hudson.remoting.LocalChannel@5c57b13a | |
Using strategy: Default | |
Last Built Revision: Revision 5a57496f7256cdaad9b9a227cb1e16c6df12855c (origin/master) | |
Checkout:workspace / /var/lib/jenkins/jobs/proj1/workspace - hudson.remoting.LocalChannel@5c57b13a | |
Fetching changes from 1 remote Git repository | |
Fetching upstream changes from [email protected]:burmis/proj1.git | |
Commencing build of Revision 5a57496f7256cdaad9b9a227cb1e16c6df12855c (origin/master) | |
Checking out Revision 5a57496f7256cdaad9b9a227cb1e16c6df12855c (origin/master) | |
[workspace] $ /bin/sh -xe /tmp/hudson4585290456519930889.sh | |
+ set -xe | |
+ export PATH=/var/lib/jenkins/.rbenv/bin:/var/lib/jenkins/.rbenv/shims:/usr/local/rbenv/shims:/usr/local/rbenv/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games | |
+ bundle install --binstubs --clean --shebang ruby-local-exec --path vendor/bundle | |
Using rake (0.9.2.2) | |
Using i18n (0.6.0) | |
Using multi_json (1.1.0) | |
Using activesupport (3.2.2) | |
Using builder (3.0.0) | |
Using activemodel (3.2.2) | |
Using erubis (2.7.0) | |
Using journey (1.0.3) | |
Using rack (1.4.1) | |
Using rack-cache (1.2) | |
Using rack-test (0.6.1) | |
Using hike (1.2.1) | |
Using tilt (1.3.3) | |
Using sprockets (2.1.2) | |
Using actionpack (3.2.2) | |
Using mime-types (1.18) | |
Using polyglot (0.3.3) | |
Using treetop (1.4.10) | |
Using mail (2.4.4) | |
Using actionmailer (3.2.2) | |
Using arel (3.0.2) | |
Using tzinfo (0.3.32) | |
Using activerecord (3.2.2) | |
Using activeresource (3.2.2) | |
Using authlogic (3.1.0) | |
Using awesome_print (1.0.2) | |
Using bootstrap-sass (2.0.1) | |
Using bundler (1.1.rc.7) | |
Using highline (1.6.11) | |
Using net-ssh (2.3.0) | |
Using net-scp (1.0.4) | |
Using net-sftp (2.0.5) | |
Using net-ssh-gateway (1.1.0) | |
Using capistrano (2.11.2) | |
Using capistrano_colors (0.5.5) | |
Using sushi (0.0.2) | |
Using capistrano-fanfare (0.0.19) | |
Using nokogiri (1.5.2) | |
Using ffi (1.0.11) | |
Using childprocess (0.3.1) | |
Using rubyzip (0.9.6.1) | |
Using selenium-webdriver (2.20.0) | |
Using xpath (0.1.4) | |
Using capybara (1.1.2) | |
Using carmen (0.2.13) | |
Using carrierwave (0.5.8) | |
Using coffee-script-source (1.2.0) | |
Using execjs (1.3.0) | |
Using coffee-script (2.2.0) | |
Using rack-ssl (1.3.2) | |
Using json (1.6.5) | |
Using rdoc (3.12) | |
Using thor (0.14.6) | |
Using railties (3.2.2) | |
Using coffee-rails (3.2.2) | |
Using diff-lcs (1.1.3) | |
Using excon (0.12.0) | |
Using factory_girl (2.6.4) | |
Using factory_girl_rails (1.7.0) | |
Using formatador (0.2.1) | |
Using ruby-hmac (0.4.0) | |
Using fog (1.3.0) | |
Using foreman (0.41.0) | |
Using gmaps4rails (1.4.8) | |
Using haml (3.1.4) | |
Using jquery-rails (2.0.1) | |
Using rails (3.2.2) | |
Using jquery-star-rating-rails (0.0.1) | |
Using kaminari (0.13.0) | |
Using kgio (2.7.3) | |
Using subexec (0.2.1) | |
Using mini_magick (3.4) | |
Using mysql2 (0.3.11) | |
Using raindrops (0.8.0) | |
Using rspec-core (2.9.0) | |
Using rspec-expectations (2.9.0) | |
Using rspec-mocks (2.9.0) | |
Using rspec (2.9.0) | |
Using rspec-rails (2.9.0) | |
Using sass (3.1.15) | |
Using sass-rails (3.2.5) | |
Using shoulda-matchers (1.0.0) | |
Using spork (1.0.0rc2) | |
Using uglifier (1.2.3) | |
Using unicorn (4.2.0) | |
Using webrat (0.7.3) | |
[32mYour bundle is complete! It was installed into ./vendor/bundle[0m | |
+ cp ../database.yml config | |
+ bin/rake init | |
proj1_test already exists | |
** snip ** | |
-- initialize_schema_migrations_table() | |
-> 0.0004s | |
-- assume_migrated_upto_version(20120401165649, ["/var/lib/jenkins/jobs/proj1/workspace/db/migrate"]) | |
-> 0.0008s | |
+ bin/rake spec | |
/var/lib/jenkins/.rbenv/versions/1.9.3-p125/bin/ruby -S rspec ./spec/controllers/users_controller_spec.rb ./spec/controllers/password_resets_controller_spec.rb ./spec/controllers/user_sessions_controller_spec.rb ./spec/controllers/pages_controller_spec.rb ./spec/controllers/day_homes_controller_spec.rb ./spec/controllers/reviews_controller_spec.rb ./spec/controllers/admin/users_controller_spec.rb ./spec/controllers/admin/user_sessions_controller_spec.rb ./spec/controllers/admin/day_homes_controller_spec.rb ./spec/controllers/searches_controller_spec.rb ./spec/models/day_home_spec.rb ./spec/models/certification_type_spec.rb ./spec/models/user_day_home_spec.rb ./spec/models/user_spec.rb ./spec/models/day_home_photo_spec.rb ./spec/models/review_spec.rb ./spec/models/day_home_availability_type_spec.rb ./spec/models/availability_type_spec.rb ./spec/models/search_spec.rb | |
DEPRECATION WARNING: ActiveSupport::Memoizable is deprecated and will be removed in future releases,simply use Ruby memoization pattern instead. (called from <top (required)> at /var/lib/jenkins/jobs/proj1/workspace/config/environment.rb:5) | |
/var/lib/jenkins/jobs/proj1/workspace/config/initializers/carrierwave_cloudfiles.rb:19: warning: string literal in condition | |
.............................................................................{:day_home_id=>2, :user_id=>2} | |
...................F.....F..F..FF.FFF....... | |
Failures: | |
1) Search should be valid if all availability types are checked | |
Failure/Error: @obj_2 = Obj.create!({:name => "Obj 2", | |
ActiveRecord::RecordInvalid: | |
Validation failed: Address Cannot find a location matching that query. | |
# ./spec/models/search_spec.rb:27:in `block (2 levels) in <top (required)>' | |
2) Search should be valid if a bunch of fields are populated | |
Failure/Error: @obj_2 = Obj.create!({:name => "Obj 2", | |
ActiveRecord::RecordInvalid: | |
Validation failed: Address Cannot find a location matching that query. | |
# ./spec/models/search_spec.rb:27:in `block (2 levels) in <top (required)>' | |
3) Search auto_adjust should be false when no obj found | |
Failure/Error: @obj_1 = Obj.create!({:name => "Obj 1", | |
ActiveRecord::RecordInvalid: | |
Validation failed: Address Cannot find a location matching that query. | |
# ./spec/models/search_spec.rb:17:in `block (2 levels) in <top (required)>' | |
4) Search zoom should be 12 if search pin is populated | |
Failure/Error: @obj_1 = Obj.create!({:name => "Obj 1", | |
ActiveRecord::RecordInvalid: | |
Validation failed: Address Cannot find a location matching that query. | |
# ./spec/models/search_spec.rb:17:in `block (2 levels) in <top (required)>' | |
5) Search center latitude and center longitude should be equal to the search pin | |
Failure/Error: @obj_1 = Obj.create!({:name => "Obj 1", | |
ActiveRecord::RecordInvalid: | |
Validation failed: Address Cannot find a location matching that query. | |
# ./spec/models/search_spec.rb:17:in `block (2 levels) in <top (required)>' | |
6) Search should have pins of type availability pins where only 1 object is returned | |
Failure/Error: @obj_1 = Obj.create!({:name => "Obj 1", | |
ActiveRecord::RecordInvalid: | |
Validation failed: Address Cannot find a location matching that query. | |
# ./spec/models/search_spec.rb:17:in `block (2 levels) in <top (required)>' | |
7) Search should have pins of type availability pins where 2 obj are returned | |
Failure/Error: @obj_1 = Obj.create!({:name => "Obj 1", | |
ActiveRecord::RecordInvalid: | |
Validation failed: Address Cannot find a location matching that query. | |
# ./spec/models/search_spec.rb:17:in `block (2 levels) in <top (required)>' | |
8) Search should have pins of type certificate pins where only 1 object is returned | |
Failure/Error: @obj_1 = Obj.create!({:name => "Obj 1", | |
ActiveRecord::RecordInvalid: | |
Validation failed: Address Cannot find a location matching that query. | |
# ./spec/models/search_spec.rb:17:in `block (2 levels) in <top (required)>' | |
Finished in 15.55 seconds | |
121 examples, 8 failures | |
Failed examples: | |
rspec ./spec/models/search_spec.rb:43 # Search should be valid if all availability types are checked | |
rspec ./spec/models/search_spec.rb:86 # Search should be valid if a bunch of fields are populated | |
rspec ./spec/models/search_spec.rb:121 # Search auto_adjust should be false when no objects found | |
rspec ./spec/models/search_spec.rb:147 # Search zoom should be 12 if search pin is populated | |
rspec ./spec/models/search_spec.rb:156 # Search center latitude and center longitude should be equal to the search pin | |
rspec ./spec/models/search_spec.rb:176 # Search should have pins of type availability pins where only 1 object is returned | |
rspec ./spec/models/search_spec.rb:189 # Search should have pins of type availability pins where 2 objects are returned | |
rspec ./spec/models/search_spec.rb:204 # Search should have pins of type certificate pins where only 1 object is returned | |
rake aborted! | |
/var/lib/jenkins/.rbenv/versions/1.9.3-p125/bin/ruby -S rspec ./spec/controllers/users_controller_spec.rb ./spec/controllers/password_resets_controller_spec.rb ./spec/controllers/user_sessions_controller_spec.rb ./spec/controllers/pages_controller_spec.rb ./spec/controllers/day_homes_controller_spec.rb ./spec/controllers/reviews_controller_spec.rb ./spec/controllers/admin/users_controller_spec.rb ./spec/controllers/admin/user_sessions_controller_spec.rb ./spec/controllers/admin/day_homes_controller_spec.rb ./spec/controllers/searches_controller_spec.rb ./spec/models/day_home_spec.rb ./spec/models/certification_type_spec.rb ./spec/models/user_day_home_spec.rb ./spec/models/user_spec.rb ./spec/models/day_home_photo_spec.rb ./spec/models/review_spec.rb ./spec/models/day_home_availability_type_spec.rb ./spec/models/availability_type_spec.rb ./spec/models/search_spec.rb failed | |
Tasks: TOP => spec | |
(See full trace by running task with --trace) | |
Build step 'Execute shell' marked build as failure | |
Finished: FAILURE |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment