Produced by Araxis Merge on 12/14/2017 1:28:15 PM Eastern Standard Time. See www.araxis.com for information about Merge. This report uses XHTML and CSS2, and is best viewed with a modern standards-compliant browser. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.
| # | Location | File | Last Modified |
|---|---|---|---|
| 1 | CUI-CPP-v2.3.2-source.zip\spec\factories | users.rb | Mon Nov 20 23:19:07 2017 UTC |
| 2 | CUI-CPP-v2.3.2-source.zip\spec\factories | users.rb | Thu Dec 14 15:38:03 2017 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 8 | 170 |
| Changed | 7 | 22 |
| Inserted | 0 | 0 |
| Removed | 0 | 0 |
| Whitespace | |
|---|---|
| Character case | Differences in character case are significant |
| Line endings | Differences in line endings (CR and LF characters) are ignored |
| CR/LF characters | Not shown in the comparison detail |
No regular expressions were active.
| 1 | # == Schem a Informat ion | |
| 2 | # | |
| 3 | # Table na me: users | |
| 4 | # | |
| 5 | # id :int eger not nu ll, primar y key | |
| 6 | # email :str ing defaul t(""), not null | |
| 7 | # encrypt ed_passwor d :str ing defaul t(""), not null | |
| 8 | # reset_p assword_to ken :str ing | |
| 9 | # reset_p assword_se nt_at :dat etime | |
| 10 | # remembe r_created_ at :dat etime | |
| 11 | # sign_in _count :int eger defaul t(0), not null | |
| 12 | # current _sign_in_a t :dat etime | |
| 13 | # last_si gn_in_at :dat etime | |
| 14 | # current _sign_in_i p :ine t | |
| 15 | # last_si gn_in_ip :ine t | |
| 16 | # created _at :dat etime | |
| 17 | # updated _at :dat etime | |
| 18 | # roles :tex t | |
| 19 | # first_n ame :str ing | |
| 20 | # last_na me :str ing | |
| 21 | # is_unde r_review :boo lean defaul t(TRUE) | |
| 22 | # failed_ attempts :int eger defaul t(0) | |
| 23 | # unlock_ token :str ing | |
| 24 | # locked_ at :dat etime | |
| 25 | # provide r :str ing | |
| 26 | # uid :str ing | |
| 27 | # authori zation_sta te :str ing defaul t("none") | |
| 28 | # | |
| 29 | ||
| 30 | # Read abo ut factori es at http s://github .com/thoug htbot/fact ory_girl | |
| 31 | ||
| 32 | FactoryGir l.define d o | |
| 33 | factory :user do | |
| 34 | email { " PII " } | |
| 35 | password " AI " | |
| 36 | first_ name "Doc" | |
| 37 | last_n ame "Brown " | |
| 38 | roles [] | |
| 39 | is_und er_review false | |
| 40 | # author ization "a uthorized" | |
| 41 | end | |
| 42 | ||
| 43 | factory :admin, cl ass: User do | |
| 44 | sequen ce(:email) { |n| "ad min#{n}@ex ample.com" } | |
| 45 | sequen ce(:first_ name) { |n | "first_n ame#{n}" } | |
| 46 | sequen ce(:last_n ame) { |n| "last_nam e#{n}" } | |
| 47 | password " AI " | |
| 48 | roles ["app_admi n"] | |
| 49 | author ization_st ate "autho rized" | |
| 50 | end | |
| 51 | ||
| 52 | factory :medical_a ssistant, class: Use r do | |
| 53 | email { " PII " } | |
| 54 | password " AI " | |
| 55 | first_ name "Medi cal" | |
| 56 | last_n ame "Assis tant" | |
| 57 | roles ["medical_ assistant" ] | |
| 58 | is_und er_review false | |
| 59 | end | |
| 60 | ||
| 61 | factory :superviso r, class: User do | |
| 62 | email { " PII " } | |
| 63 | password " AI " | |
| 64 | first_ name "Supe r" | |
| 65 | last_n ame "Visor " | |
| 66 | roles ["supervis or"] | |
| 67 | is_und er_review false | |
| 68 | end | |
| 69 | ||
| 70 | factory :examiner, class: Us er do | |
| 71 | email { " PII " } | |
| 72 | password " AI " | |
| 73 | first_ name "Exam " | |
| 74 | last_n ame "Iner" | |
| 75 | roles ["examiner "] | |
| 76 | is_und er_review false | |
| 77 | end | |
| 78 | ||
| 79 | factory :vha_user, class: Us er do | |
| 80 | sequen ce(:email) { |n| "vh a_user#{n} @example.c om" } | |
| 81 | sequen ce(:first_ name) { |n | "first_n ame#{n}" } | |
| 82 | sequen ce(:last_n ame) { |n | "last_na me#{n}" } | |
| 83 | password " AI " | |
| 84 | roles ["vha_cc"] | |
| 85 | end | |
| 86 | ||
| 87 | factory :community _provider, class: Us er do | |
| 88 | npi { FactoryGi rl.create( :provider) .npi } | |
| 89 | sequen ce(:email) { |n | "communi ty_provide r#{n}@exam ple.com" } | |
| 90 | sequen ce(:first_ name) { |n | "first_n ame#{n}" } | |
| 91 | sequen ce(:last_n ame) { |n | "last_na me#{n}" } | |
| 92 | password " AI " | |
| 93 | roles ["non_vha" ] | |
| 94 | end | |
| 95 | ||
| 96 | end |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.