Skip to content

Instantly share code, notes, and snippets.

@ckib16
Created December 7, 2015 16:36
Show Gist options
  • Save ckib16/64ec451f398dd693ee34 to your computer and use it in GitHub Desktop.
Save ckib16/64ec451f398dd693ee34 to your computer and use it in GitHub Desktop.
Rspec output - pilot roster
[11:17]~/wdi/projects/pilot_roster > rspec
ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
Location
(0.2ms) BEGIN
(0.2ms) ROLLBACK
has a valid factory
(0.1ms) BEGIN
(0.2ms) ROLLBACK
is invalid without a base name
(0.1ms) BEGIN
(0.1ms) ROLLBACK
is invalid without a unit
(0.1ms) BEGIN
(0.1ms) ROLLBACK
is invalid without a country
(0.1ms) BEGIN
(0.1ms) ROLLBACK
is invalid without a state
(0.1ms) BEGIN
(0.1ms) ROLLBACK
is invalid without an oconus designation (boolean)
(0.1ms) BEGIN
(0.1ms) ROLLBACK
is invalid without a PASCODE
(0.1ms) BEGIN
(0.2ms) ROLLBACK
is invalid without an integer of billets
(0.1ms) BEGIN
(0.1ms) ROLLBACK
is invalid with a negative integer in billets
(0.1ms) BEGIN
(0.1ms) ROLLBACK
is invalid without an emblem url
Pilot
(0.1ms) BEGIN
(0.2ms) SAVEPOINT active_record_1
SQL (1.3ms) INSERT INTO "locations" ("base", "unit", "country", "state", "pascode", "billets", "emblem_url") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["base", "Wyman-Howe"], ["unit", "spiders"], ["country", "Guinea-Bissau"], ["state", "Maryland"], ["pascode", "2zve6k0h"], ["billets", 42], ["emblem_url", "http://pigment.github.io/fake-logos/logos/medium/color/3.png"]]
(0.2ms) RELEASE SAVEPOINT active_record_1
(0.3ms) ROLLBACK
has a valid factory
(0.2ms) BEGIN
(0.2ms) SAVEPOINT active_record_1
SQL (0.3ms) INSERT INTO "locations" ("base", "unit", "country", "state", "oconus", "pascode", "billets", "emblem_url") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["base", "Marks, Kuvalis and Gorczany"], ["unit", "dogs"], ["country", "Taiwan"], ["state", "North Dakota"], ["oconus", "t"], ["pascode", "4lg6knlw"], ["billets", 76], ["emblem_url", "http://pigment.github.io/fake-logos/logos/medium/color/9.png"]]
(0.1ms) RELEASE SAVEPOINT active_record_1
(0.1ms) ROLLBACK
is invalid without a name
(0.1ms) BEGIN
(0.1ms) SAVEPOINT active_record_1
SQL (0.3ms) INSERT INTO "locations" ("base", "unit", "country", "state", "oconus", "pascode", "billets", "emblem_url") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["base", "Kutch, Price and Zieme"], ["unit", "crows"], ["country", "Montserrat"], ["state", "Colorado"], ["oconus", "t"], ["pascode", "gu00xsvd"], ["billets", 64], ["emblem_url", "http://pigment.github.io/fake-logos/logos/medium/color/11.png"]]
(0.1ms) RELEASE SAVEPOINT active_record_1
(0.1ms) ROLLBACK
is invalid without a rank
(0.1ms) BEGIN
(0.1ms) SAVEPOINT active_record_1
SQL (0.3ms) INSERT INTO "locations" ("base", "unit", "country", "state", "pascode", "billets", "emblem_url") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["base", "Casper-Shanahan"], ["unit", "gooses"], ["country", "Timor-Leste"], ["state", "Texas"], ["pascode", "q2mboc0r"], ["billets", 24], ["emblem_url", "http://pigment.github.io/fake-logos/logos/medium/color/9.png"]]
(0.3ms) RELEASE SAVEPOINT active_record_1
(0.1ms) ROLLBACK
is invalid without an hours integer > 0
(0.1ms) BEGIN
(0.1ms) SAVEPOINT active_record_1
SQL (0.4ms) INSERT INTO "locations" ("base", "unit", "country", "state", "pascode", "billets", "emblem_url") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["base", "Funk Inc"], ["unit", "sons"], ["country", "Saint Lucia"], ["state", "Nebraska"], ["pascode", "0jqmc9ax"], ["billets", 27], ["emblem_url", "http://pigment.github.io/fake-logos/logos/medium/color/1.png"]]
(0.1ms) RELEASE SAVEPOINT active_record_1
(0.1ms) ROLLBACK
is invalid without an hours inputed as an integer
(0.1ms) BEGIN
(0.1ms) SAVEPOINT active_record_1
SQL (0.4ms) INSERT INTO "locations" ("base", "unit", "country", "state", "oconus", "pascode", "billets", "emblem_url") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["base", "Jast-Kunde"], ["unit", "goblins"], ["country", "Japan"], ["state", "Oklahoma"], ["oconus", "t"], ["pascode", "sj8yoya8"], ["billets", 12], ["emblem_url", "http://pigment.github.io/fake-logos/logos/medium/color/11.png"]]
(0.1ms) RELEASE SAVEPOINT active_record_1
(0.2ms) ROLLBACK
is invalid without a qualification
(0.1ms) BEGIN
(0.2ms) SAVEPOINT active_record_1
SQL (0.3ms) INSERT INTO "locations" ("base", "unit", "country", "state", "pascode", "billets", "emblem_url") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["base", "Spinka LLC"], ["unit", "black cats"], ["country", "Zambia"], ["state", "West Virginia"], ["pascode", "3picbptc"], ["billets", 78], ["emblem_url", "http://pigment.github.io/fake-logos/logos/medium/color/1.png"]]
(0.1ms) RELEASE SAVEPOINT active_record_1
(0.1ms) ROLLBACK
is invalid without a commision date
(0.1ms) BEGIN
(0.1ms) SAVEPOINT active_record_1
SQL (0.3ms) INSERT INTO "locations" ("base", "unit", "country", "state", "pascode", "billets", "emblem_url") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["base", "Morar, McClure and Walsh"], ["unit", "prophets"], ["country", "Guyana"], ["state", "Missouri"], ["pascode", "2ylwpytw"], ["billets", 59], ["emblem_url", "http://pigment.github.io/fake-logos/logos/medium/color/12.png"]]
(0.1ms) RELEASE SAVEPOINT active_record_1
(0.1ms) ROLLBACK
is invalid without an adsc
(0.1ms) BEGIN
(0.2ms) SAVEPOINT active_record_1
SQL (0.5ms) INSERT INTO "locations" ("base", "unit", "country", "state", "oconus", "pascode", "billets", "emblem_url") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["base", "O'Hara-Flatley"], ["unit", "worshipers"], ["country", "Kiribati"], ["state", "Connecticut"], ["oconus", "t"], ["pascode", "2x8vat2z"], ["billets", 61], ["emblem_url", "http://pigment.github.io/fake-logos/logos/medium/color/11.png"]]
(0.2ms) RELEASE SAVEPOINT active_record_1
(0.1ms) ROLLBACK
is invalid without an avatar
Finished in 0.55545 seconds (files took 2.26 seconds to load)
19 examples, 0 failures
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment