Skip to content

Instantly share code, notes, and snippets.

@rolentle
Created May 2, 2014 14:09
Show Gist options
  • Save rolentle/c7da72d7e4bbd9194445 to your computer and use it in GitHub Desktop.
Save rolentle/c7da72d7e4bbd9194445 to your computer and use it in GitHub Desktop.
Agile Metric Test Errors.
/Users/A664724/.rvm/gems/ruby-2.0.0-p451@global/gems/bundler-1.6.1/lib/bundler/runtime.rb:222: warning: Insecure world writable dir /usr/local in PATH, mode 040777
DEPRECATION WARNING: Model based mass assignment security has been extracted
out of Rails into a gem. Please use the new recommended protection model for
params or add `protected_attributes` to your Gemfile to use the old one.
To disable this message remove the `whitelist_attributes` option from your
`config/application.rb` file and any `mass_assignment_sanitizer` options
from your `config/environments/*.rb` files.
See http://guides.rubyonrails.org/security.html#mass-assignment for more information.
Run options: --seed 50606
# Running tests:
EEEEEEE
Finished tests in 0.104299s, 67.1147 tests/s, 0.0000 assertions/s.
1) Error:
TeamsControllerTest#test_should_create_team:
ActiveRecord::RecordNotUnique: PG::UniqueViolation: ERROR: duplicate key value violates unique constraint "index_teams_on_name"
DETAIL: Key (name)=(MyString) already exists.
: INSERT INTO "teams" ("name", "sprint_weeks", "created_at", "updated_at", "id") VALUES ('MyString', 1, '2014-05-02 14:03:59', '2014-05-02 14:03:59', 298486374)
2) Error:
TeamsControllerTest#test_should_destroy_team:
ActiveRecord::RecordNotUnique: PG::UniqueViolation: ERROR: duplicate key value violates unique constraint "index_teams_on_name"
DETAIL: Key (name)=(MyString) already exists.
: INSERT INTO "teams" ("name", "sprint_weeks", "created_at", "updated_at", "id") VALUES ('MyString', 1, '2014-05-02 14:03:59', '2014-05-02 14:03:59', 298486374)
3) Error:
TeamsControllerTest#test_should_get_edit:
ActiveRecord::RecordNotUnique: PG::UniqueViolation: ERROR: duplicate key value violates unique constraint "index_teams_on_name"
DETAIL: Key (name)=(MyString) already exists.
: INSERT INTO "teams" ("name", "sprint_weeks", "created_at", "updated_at", "id") VALUES ('MyString', 1, '2014-05-02 14:03:59', '2014-05-02 14:03:59', 298486374)
4) Error:
TeamsControllerTest#test_should_get_index:
ActiveRecord::RecordNotUnique: PG::UniqueViolation: ERROR: duplicate key value violates unique constraint "index_teams_on_name"
DETAIL: Key (name)=(MyString) already exists.
: INSERT INTO "teams" ("name", "sprint_weeks", "created_at", "updated_at", "id") VALUES ('MyString', 1, '2014-05-02 14:03:59', '2014-05-02 14:03:59', 298486374)
5) Error:
TeamsControllerTest#test_should_get_new:
ActiveRecord::RecordNotUnique: PG::UniqueViolation: ERROR: duplicate key value violates unique constraint "index_teams_on_name"
DETAIL: Key (name)=(MyString) already exists.
: INSERT INTO "teams" ("name", "sprint_weeks", "created_at", "updated_at", "id") VALUES ('MyString', 1, '2014-05-02 14:03:59', '2014-05-02 14:03:59', 298486374)
6) Error:
TeamsControllerTest#test_should_show_team:
ActiveRecord::RecordNotUnique: PG::UniqueViolation: ERROR: duplicate key value violates unique constraint "index_teams_on_name"
DETAIL: Key (name)=(MyString) already exists.
: INSERT INTO "teams" ("name", "sprint_weeks", "created_at", "updated_at", "id") VALUES ('MyString', 1, '2014-05-02 14:03:59', '2014-05-02 14:03:59', 298486374)
7) Error:
TeamsControllerTest#test_should_update_team:
ActiveRecord::RecordNotUnique: PG::UniqueViolation: ERROR: duplicate key value violates unique constraint "index_teams_on_name"
DETAIL: Key (name)=(MyString) already exists.
: INSERT INTO "teams" ("name", "sprint_weeks", "created_at", "updated_at", "id") VALUES ('MyString', 1, '2014-05-02 14:03:59', '2014-05-02 14:03:59', 298486374)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment