Skip to content

Instantly share code, notes, and snippets.

Loaded suite functional/production/trouble_projects_controller_test
Started
..................................................................
Finished in 12.982787 seconds.
66 tests, 100 assertions, 0 failures, 0 errors
# LDAP Configuration
development:
host: localhost
port: 636
base: ou=bar,dc=foo,dc=com
admin_user: cn=admin,dc=foo,dc=com
admin_password: password
ssl: false
production:
Loaded suite functional/user_sessions_controller_test
Started
........................
Finished in 2.508612 seconds.
24 tests, 40 assertions, 0 failures, 0 errors
ruby functional/hr/alert_collaborators_controller_test.rb
FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF (Every tests Fail)
62) Failure:
test: (locale=FR) logged in on PUT to :update (invalid data) should render template :edit. (Hr::AlertCollaboratorsControllerTest)
[shoulda (2.10.3) lib/shoulda/action_controller/macros.rb:164:in `__bind_1279812770_248932'
shoulda (2.10.3) lib/shoulda/context.rb:362:in `call'
shoulda (2.10.3) lib/shoulda/context.rb:362:in `test: (locale=FR) logged in on PUT to :update (invalid data) should render template :edit. ']:
expecting <"edit"> but rendering with <"">
65) Error:
test: (locale=FR) logged in on PUT to :update (valid data) should redirect to alert_collaborator index page. (Hr::AlertCollaboratorsControllerTest):
NoMethodError: undefined method `users' for #<Hr::AlertCollaboratorsControllerTest:0x7f4ce9161ab0>
/test_helper.rb:117:in `generate_setup'
functional/hr/alert_collaborators_controller_test.rb:7:in `__bind_1279813364_526452'
shoulda (2.10.3) lib/shoulda/context.rb:380:in `call'
shoulda (2.10.3) lib/shoulda/context.rb:380:in `run_current_setup_blocks'
shoulda (2.10.3) lib/shoulda/context.rb:379:in `each'
shoulda (2.10.3) lib/shoulda/context.rb:379:in `run_current_setup_blocks'
shoulda (2.10.3) lib/shoulda/context.rb:371:in `run_all_setup_blocks'
ENV["RAILS_ENV"] = "test"
require File.expand_path(File.dirname(__FILE__) + "/../config/environment")
require 'test_help'
require 'factory_girl'
require 'shoulda'
require 'faker'
require "authlogic/test_case"
require 'i18n'
class ActiveSupport::TestCase
>> Skill.down
=> [#<Skill id: 705, name: "ZEND STUDIO", created_at: "2010-07-22 09:00:38", updated_at: "2010-07-22 09:00:38">, #<Skill id: 704, name: "ZEND FRAMEWORK", created_at: "2010-07-22 09:00:38", updated_at: "2010-07-22 09:00:38">, #<Skill id: 703, name: "Zend", created_at: "2010-07-22 09:00:38", updated_at: "2010-07-22 09:00:38">, #<Skill id: 702, name: "Z/OS", created_at: "2010-07-22 09:00:38", updated_at: "2010-07-22 09:00:38">, #<Skill id: 701, name: "Xyleme", created_at: "2010-07-22 09:00:38", updated_at: "2010-07-22 09:00:38">, #<Skill id: 700, name: "Xtragrid", created_at: "2010-07-22 09:00:38", updated_at: "2010-07-22 09:00:38">, #<Skill id: 699, name: "XSLT", created_at: "2010-07-22 09:00:38", updated_at: "2010-07-22 09:00:38">, #<Skill id: 698, name: "XSL", created_at: "2010-07-22 09:00:38", updated_at: "2010-07-22 09:00:38">, #<Skill id: 697, name: "XMLSpy", created_at: "2010-07-22 09:00:38", updated_at: "2010-07-22 09:00:38">, #<Skill id: 696, name: "XML XPAth", created_at: "2010-07-22 09:0
##### Faking data for "Sud" and "April 2000"
### Processing trouble_project
### Processing book
### Processing alert_collaborator
### Processing delivery_distribution
### Processing feeling_agency
# Errors Factory(feeling_agency) with :agency_id => 10 and feedback_id => 4
Validation failed: Level has already been taken
### Processing cost_number
### Processing prospect
We can make this file beautiful and searchable if this error is corrected: No commas found in this CSV file in line 0.
"1";"2000-01-01 10:00:00"
"2";"2000-02-01 10:00:00"
"3";"2000-03-01 10:00:00"
"4";"2000-04-01 10:00:00"
"5";"2000-05-01 10:00:00"
"6";"2000-06-01 10:00:00"
"7";"2000-07-01 10:00:00"
"8";"2000-08-01 10:00:00"
"9";"2000-09-01 10:00:00"
"10";"2000-10-01 10:00:00"
-- Use database
USE pabd_olap;
-- Suppression de la procedure si elle existe
DROP PROCEDURE IF EXISTS sp_maj_referentiel_agences;
-- Changement du parametre "delimiter" pour creer la procedure
DELIMITER $$
-- Creation de la procedure sp_maj_referentiel_gen