diff --git a/r b/r deleted file mode 100644 index 4165392..0000000 --- a/r +++ /dev/null @@ -1,393 +0,0 @@ - -Randomized with seed 33309 -FFFFFFFFFFFFFFFFFFFFF - -Failures: - - 1) improper password hashing with just md5 -Tutorial: https://github.com/OWASP/railsgoat/wiki/A6-Sensitive-Data-Exposure-Insecure-Password-Storage - Failure/Error: aes.iv = iv if iv != nil - - ArgumentError: - iv must be 16 bytes - # ./lib/encryption.rb:8:in `iv=' - # ./lib/encryption.rb:8:in `encrypt_sensitive_value' - # ./app/models/user.rb:82:in `generate_token' - # ./app/models/user.rb:23:in `block in ' - # /Users/macbookpro/.rvm/rubies/ruby-2.4.2/lib/ruby/2.4.0/monitor.rb:214:in `mon_synchronize' - # ./db/seeds.rb:270:in `block in ' - # ./db/seeds.rb:267:in `each' - # ./db/seeds.rb:267:in `' - # ./spec/support/user_fixture.rb:4:in `reset_all_users' - # ./spec/vulnerabilities/password_hashing_spec.rb:5:in `block (2 levels) in ' - - 2) command injection attack -Tutorial: https://github.com/OWASP/railsgoat/wiki/A1-Command-Injection - Failure/Error: aes.iv = iv if iv != nil - - ArgumentError: - iv must be 16 bytes - # ./lib/encryption.rb:8:in `iv=' - # ./lib/encryption.rb:8:in `encrypt_sensitive_value' - # ./app/models/user.rb:82:in `generate_token' - # ./app/models/user.rb:23:in `block in ' - # /Users/macbookpro/.rvm/rubies/ruby-2.4.2/lib/ruby/2.4.0/monitor.rb:214:in `mon_synchronize' - # ./db/seeds.rb:270:in `block in ' - # ./db/seeds.rb:267:in `each' - # ./db/seeds.rb:267:in `' - # ./spec/support/user_fixture.rb:4:in `reset_all_users' - # ./spec/vulnerabilities/command_injection_spec.rb:6:in `block (2 levels) in ' - - 3) csrf attack -Tutorial: https://github.com/OWASP/railsgoat/wiki/R5-A8-CSRF - Failure/Error: aes.iv = iv if iv != nil - - ArgumentError: - iv must be 16 bytes - # ./lib/encryption.rb:8:in `iv=' - # ./lib/encryption.rb:8:in `encrypt_sensitive_value' - # ./app/models/user.rb:82:in `generate_token' - # ./app/models/user.rb:23:in `block in ' - # /Users/macbookpro/.rvm/rubies/ruby-2.4.2/lib/ruby/2.4.0/monitor.rb:214:in `mon_synchronize' - # ./db/seeds.rb:270:in `block in ' - # ./db/seeds.rb:267:in `each' - # ./db/seeds.rb:267:in `' - # ./spec/support/user_fixture.rb:4:in `reset_all_users' - # ./spec/vulnerabilities/csrf_spec.rb:6:in `block (2 levels) in ' - - 4) url access attack -Tutorial: https://github.com/OWASP/railsgoat/wiki/A7-Missing-Function-Level-Access-Control--(Admin-Controller) - Failure/Error: aes.iv = iv if iv != nil - - ArgumentError: - iv must be 16 bytes - # ./lib/encryption.rb:8:in `iv=' - # ./lib/encryption.rb:8:in `encrypt_sensitive_value' - # ./app/models/user.rb:82:in `generate_token' - # ./app/models/user.rb:23:in `block in ' - # /Users/macbookpro/.rvm/rubies/ruby-2.4.2/lib/ruby/2.4.0/monitor.rb:214:in `mon_synchronize' - # ./db/seeds.rb:270:in `block in ' - # ./db/seeds.rb:267:in `each' - # ./db/seeds.rb:267:in `' - # ./spec/support/user_fixture.rb:4:in `reset_all_users' - # ./spec/vulnerabilities/url_access_spec.rb:5:in `block (2 levels) in ' - - 5) broken_auth one -Tutorial: https://github.com/OWASP/railsgoat/wiki/A2-Credential-Enumeration - Failure/Error: aes.iv = iv if iv != nil - - ArgumentError: - iv must be 16 bytes - # ./lib/encryption.rb:8:in `iv=' - # ./lib/encryption.rb:8:in `encrypt_sensitive_value' - # ./app/models/user.rb:82:in `generate_token' - # ./app/models/user.rb:23:in `block in ' - # /Users/macbookpro/.rvm/rubies/ruby-2.4.2/lib/ruby/2.4.0/monitor.rb:214:in `mon_synchronize' - # ./db/seeds.rb:270:in `block in ' - # ./db/seeds.rb:267:in `each' - # ./db/seeds.rb:267:in `' - # ./spec/support/user_fixture.rb:4:in `reset_all_users' - # ./spec/vulnerabilities/broken_auth_spec.rb:5:in `block (2 levels) in ' - - 6) broken_auth two -Tutorial: https://github.com/OWASP/railsgoat/wiki/A2-Credential-Enumeration - Failure/Error: aes.iv = iv if iv != nil - - ArgumentError: - iv must be 16 bytes - # ./lib/encryption.rb:8:in `iv=' - # ./lib/encryption.rb:8:in `encrypt_sensitive_value' - # ./app/models/user.rb:82:in `generate_token' - # ./app/models/user.rb:23:in `block in ' - # /Users/macbookpro/.rvm/rubies/ruby-2.4.2/lib/ruby/2.4.0/monitor.rb:214:in `mon_synchronize' - # ./db/seeds.rb:270:in `block in ' - # ./db/seeds.rb:267:in `each' - # ./db/seeds.rb:267:in `' - # ./spec/support/user_fixture.rb:4:in `reset_all_users' - # ./spec/vulnerabilities/broken_auth_spec.rb:5:in `block (2 levels) in ' - - 7) xss attack -Tutorial: https://github.com/OWASP/railsgoat/wiki/A3-Cross-Site-Scripting - Failure/Error: aes.iv = iv if iv != nil - - ArgumentError: - iv must be 16 bytes - # ./lib/encryption.rb:8:in `iv=' - # ./lib/encryption.rb:8:in `encrypt_sensitive_value' - # ./app/models/user.rb:82:in `generate_token' - # ./app/models/user.rb:23:in `block in ' - # /Users/macbookpro/.rvm/rubies/ruby-2.4.2/lib/ruby/2.4.0/monitor.rb:214:in `mon_synchronize' - # ./db/seeds.rb:270:in `block in ' - # ./db/seeds.rb:267:in `each' - # ./db/seeds.rb:267:in `' - # ./spec/support/user_fixture.rb:4:in `reset_all_users' - # ./spec/vulnerabilities/xss_spec.rb:5:in `block (2 levels) in ' - - 8) insecure direct object reference attack one - Failure/Error: aes.iv = iv if iv != nil - - ArgumentError: - iv must be 16 bytes - # ./lib/encryption.rb:8:in `iv=' - # ./lib/encryption.rb:8:in `encrypt_sensitive_value' - # ./app/models/user.rb:82:in `generate_token' - # ./app/models/user.rb:23:in `block in ' - # /Users/macbookpro/.rvm/rubies/ruby-2.4.2/lib/ruby/2.4.0/monitor.rb:214:in `mon_synchronize' - # ./db/seeds.rb:270:in `block in ' - # ./db/seeds.rb:267:in `each' - # ./db/seeds.rb:267:in `' - # ./spec/support/user_fixture.rb:4:in `reset_all_users' - # ./spec/vulnerabilities/insecure_dor_spec.rb:5:in `block (2 levels) in ' - - 9) insecure direct object reference attack two -Tutorial: https://github.com/OWASP/railsgoat/wiki/A4-Insecure-Direct-Object-Reference - Failure/Error: aes.iv = iv if iv != nil - - ArgumentError: - iv must be 16 bytes - # ./lib/encryption.rb:8:in `iv=' - # ./lib/encryption.rb:8:in `encrypt_sensitive_value' - # ./app/models/user.rb:82:in `generate_token' - # ./app/models/user.rb:23:in `block in ' - # /Users/macbookpro/.rvm/rubies/ruby-2.4.2/lib/ruby/2.4.0/monitor.rb:214:in `mon_synchronize' - # ./db/seeds.rb:270:in `block in ' - # ./db/seeds.rb:267:in `each' - # ./db/seeds.rb:267:in `' - # ./spec/support/user_fixture.rb:4:in `reset_all_users' - # ./spec/vulnerabilities/insecure_dor_spec.rb:5:in `block (2 levels) in ' - - 10) sql injection attack -Tutorial: https://github.com/OWASP/railsgoat/wiki/R4-A1-SQL-Injection-Concatentation - Failure/Error: aes.iv = iv if iv != nil - - ArgumentError: - iv must be 16 bytes - # ./lib/encryption.rb:8:in `iv=' - # ./lib/encryption.rb:8:in `encrypt_sensitive_value' - # ./app/models/user.rb:82:in `generate_token' - # ./app/models/user.rb:23:in `block in ' - # /Users/macbookpro/.rvm/rubies/ruby-2.4.2/lib/ruby/2.4.0/monitor.rb:214:in `mon_synchronize' - # ./db/seeds.rb:270:in `block in ' - # ./db/seeds.rb:267:in `each' - # ./db/seeds.rb:267:in `' - # ./spec/support/user_fixture.rb:4:in `reset_all_users' - # ./spec/vulnerabilities/sql_injection_spec.rb:5:in `block (2 levels) in ' - - 11) User can be instantiated - Failure/Error: aes.iv = iv if iv != nil - - ArgumentError: - iv must be 16 bytes - # ./lib/encryption.rb:8:in `iv=' - # ./lib/encryption.rb:8:in `encrypt_sensitive_value' - # ./app/models/user.rb:82:in `generate_token' - # ./app/models/user.rb:23:in `block in ' - # /Users/macbookpro/.rvm/rubies/ruby-2.4.2/lib/ruby/2.4.0/monitor.rb:214:in `mon_synchronize' - # ./db/seeds.rb:270:in `block in ' - # ./db/seeds.rb:267:in `each' - # ./db/seeds.rb:267:in `' - # ./spec/support/user_fixture.rb:4:in `reset_all_users' - # ./spec/models/benefits_spec.rb:5:in `block (2 levels) in ' - - 12) User name can be updated - Failure/Error: aes.iv = iv if iv != nil - - ArgumentError: - iv must be 16 bytes - # ./lib/encryption.rb:8:in `iv=' - # ./lib/encryption.rb:8:in `encrypt_sensitive_value' - # ./app/models/user.rb:82:in `generate_token' - # ./app/models/user.rb:23:in `block in ' - # /Users/macbookpro/.rvm/rubies/ruby-2.4.2/lib/ruby/2.4.0/monitor.rb:214:in `mon_synchronize' - # ./db/seeds.rb:270:in `block in ' - # ./db/seeds.rb:267:in `each' - # ./db/seeds.rb:267:in `' - # ./spec/support/user_fixture.rb:4:in `reset_all_users' - # ./spec/models/benefits_spec.rb:5:in `block (2 levels) in ' - - 13) mass assignment attack one - Failure/Error: aes.iv = iv if iv != nil - - ArgumentError: - iv must be 16 bytes - # ./lib/encryption.rb:8:in `iv=' - # ./lib/encryption.rb:8:in `encrypt_sensitive_value' - # ./app/models/user.rb:82:in `generate_token' - # ./app/models/user.rb:23:in `block in ' - # /Users/macbookpro/.rvm/rubies/ruby-2.4.2/lib/ruby/2.4.0/monitor.rb:214:in `mon_synchronize' - # ./db/seeds.rb:270:in `block in ' - # ./db/seeds.rb:267:in `each' - # ./db/seeds.rb:267:in `' - # ./spec/support/user_fixture.rb:4:in `reset_all_users' - # ./spec/vulnerabilities/mass_assignment_spec.rb:5:in `block (2 levels) in ' - - 14) mass assignment attack two, Tutorial: https://github.com/OWASP/railsgoat/wiki/R5-Extras-Mass-Assignment-Admin-Role - Failure/Error: aes.iv = iv if iv != nil - - ArgumentError: - iv must be 16 bytes - # ./lib/encryption.rb:8:in `iv=' - # ./lib/encryption.rb:8:in `encrypt_sensitive_value' - # ./app/models/user.rb:82:in `generate_token' - # ./app/models/user.rb:23:in `block in ' - # /Users/macbookpro/.rvm/rubies/ruby-2.4.2/lib/ruby/2.4.0/monitor.rb:214:in `mon_synchronize' - # ./db/seeds.rb:270:in `block in ' - # ./db/seeds.rb:267:in `each' - # ./db/seeds.rb:267:in `' - # ./spec/support/user_fixture.rb:4:in `reset_all_users' - # ./spec/vulnerabilities/mass_assignment_spec.rb:5:in `block (2 levels) in ' - - 15) password complexity one -Tutorial: https://github.com/OWASP/railsgoat/wiki/A2-Lack-of-Password-Complexity - Failure/Error: aes.iv = iv if iv != nil - - ArgumentError: - iv must be 16 bytes - # ./lib/encryption.rb:8:in `iv=' - # ./lib/encryption.rb:8:in `encrypt_sensitive_value' - # ./app/models/user.rb:82:in `generate_token' - # ./app/models/user.rb:23:in `block in ' - # /Users/macbookpro/.rvm/rubies/ruby-2.4.2/lib/ruby/2.4.0/monitor.rb:214:in `mon_synchronize' - # ./db/seeds.rb:270:in `block in ' - # ./db/seeds.rb:267:in `each' - # ./db/seeds.rb:267:in `' - # ./spec/support/user_fixture.rb:4:in `reset_all_users' - # ./spec/vulnerabilities/password_complexity_spec.rb:5:in `block (2 levels) in ' - - 16) User can be instantiated - Failure/Error: aes.iv = iv if iv != nil - - ArgumentError: - iv must be 16 bytes - # ./lib/encryption.rb:8:in `iv=' - # ./lib/encryption.rb:8:in `encrypt_sensitive_value' - # ./app/models/user.rb:82:in `generate_token' - # ./app/models/user.rb:23:in `block in ' - # /Users/macbookpro/.rvm/rubies/ruby-2.4.2/lib/ruby/2.4.0/monitor.rb:214:in `mon_synchronize' - # ./db/seeds.rb:270:in `block in ' - # ./db/seeds.rb:267:in `each' - # ./db/seeds.rb:267:in `' - # ./spec/support/user_fixture.rb:4:in `reset_all_users' - # ./spec/models/user_spec.rb:5:in `block (2 levels) in ' - - 17) User should require a email - Failure/Error: aes.iv = iv if iv != nil - - ArgumentError: - iv must be 16 bytes - # ./lib/encryption.rb:8:in `iv=' - # ./lib/encryption.rb:8:in `encrypt_sensitive_value' - # ./app/models/user.rb:82:in `generate_token' - # ./app/models/user.rb:23:in `block in ' - # /Users/macbookpro/.rvm/rubies/ruby-2.4.2/lib/ruby/2.4.0/monitor.rb:214:in `mon_synchronize' - # ./db/seeds.rb:270:in `block in ' - # ./db/seeds.rb:267:in `each' - # ./db/seeds.rb:267:in `' - # ./spec/support/user_fixture.rb:4:in `reset_all_users' - # ./spec/models/user_spec.rb:5:in `block (2 levels) in ' - - 18) User should require valid email - Failure/Error: aes.iv = iv if iv != nil - - ArgumentError: - iv must be 16 bytes - # ./lib/encryption.rb:8:in `iv=' - # ./lib/encryption.rb:8:in `encrypt_sensitive_value' - # ./app/models/user.rb:82:in `generate_token' - # ./app/models/user.rb:23:in `block in ' - # /Users/macbookpro/.rvm/rubies/ruby-2.4.2/lib/ruby/2.4.0/monitor.rb:214:in `mon_synchronize' - # ./db/seeds.rb:270:in `block in ' - # ./db/seeds.rb:267:in `each' - # ./db/seeds.rb:267:in `' - # ./spec/support/user_fixture.rb:4:in `reset_all_users' - # ./spec/models/user_spec.rb:5:in `block (2 levels) in ' - - 19) User should require unique email - Failure/Error: aes.iv = iv if iv != nil - - ArgumentError: - iv must be 16 bytes - # ./lib/encryption.rb:8:in `iv=' - # ./lib/encryption.rb:8:in `encrypt_sensitive_value' - # ./app/models/user.rb:82:in `generate_token' - # ./app/models/user.rb:23:in `block in ' - # /Users/macbookpro/.rvm/rubies/ruby-2.4.2/lib/ruby/2.4.0/monitor.rb:214:in `mon_synchronize' - # ./db/seeds.rb:270:in `block in ' - # ./db/seeds.rb:267:in `each' - # ./db/seeds.rb:267:in `' - # ./spec/support/user_fixture.rb:4:in `reset_all_users' - # ./spec/models/user_spec.rb:5:in `block (2 levels) in ' - - 20) User name can be updated - Failure/Error: aes.iv = iv if iv != nil - - ArgumentError: - iv must be 16 bytes - # ./lib/encryption.rb:8:in `iv=' - # ./lib/encryption.rb:8:in `encrypt_sensitive_value' - # ./app/models/user.rb:82:in `generate_token' - # ./app/models/user.rb:23:in `block in ' - # /Users/macbookpro/.rvm/rubies/ruby-2.4.2/lib/ruby/2.4.0/monitor.rb:214:in `mon_synchronize' - # ./db/seeds.rb:270:in `block in ' - # ./db/seeds.rb:267:in `each' - # ./db/seeds.rb:267:in `' - # ./spec/support/user_fixture.rb:4:in `reset_all_users' - # ./spec/models/user_spec.rb:5:in `block (2 levels) in ' - - 21) unvalidated redirect attack -Tutorial: https://github.com/OWASP/railsgoat/wiki/A10-Unvalidated-Redirects-and-Forwards-(redirect_to) - Failure/Error: aes.iv = iv if iv != nil - - ArgumentError: - iv must be 16 bytes - # ./lib/encryption.rb:8:in `iv=' - # ./lib/encryption.rb:8:in `encrypt_sensitive_value' - # ./app/models/user.rb:82:in `generate_token' - # ./app/models/user.rb:23:in `block in ' - # /Users/macbookpro/.rvm/rubies/ruby-2.4.2/lib/ruby/2.4.0/monitor.rb:214:in `mon_synchronize' - # ./db/seeds.rb:270:in `block in ' - # ./db/seeds.rb:267:in `each' - # ./db/seeds.rb:267:in `' - # ./spec/support/user_fixture.rb:4:in `reset_all_users' - # ./spec/vulnerabilities/unvalidated_redirects_spec.rb:5:in `block (2 levels) in ' - -Finished in 0.2747 seconds (files took 2.04 seconds to load) -21 examples, 21 failures - -Failed examples: - -rspec ./spec/vulnerabilities/password_hashing_spec.rb:9 # improper password hashing with just md5 -Tutorial: https://github.com/OWASP/railsgoat/wiki/A6-Sensitive-Data-Exposure-Insecure-Password-Storage -rspec ./spec/vulnerabilities/command_injection_spec.rb:10 # command injection attack -Tutorial: https://github.com/OWASP/railsgoat/wiki/A1-Command-Injection -rspec ./spec/vulnerabilities/csrf_spec.rb:10 # csrf attack -Tutorial: https://github.com/OWASP/railsgoat/wiki/R5-A8-CSRF -rspec ./spec/vulnerabilities/url_access_spec.rb:9 # url access attack -Tutorial: https://github.com/OWASP/railsgoat/wiki/A7-Missing-Function-Level-Access-Control--(Admin-Controller) -rspec ./spec/vulnerabilities/broken_auth_spec.rb:9 # broken_auth one -Tutorial: https://github.com/OWASP/railsgoat/wiki/A2-Credential-Enumeration -rspec ./spec/vulnerabilities/broken_auth_spec.rb:22 # broken_auth two -Tutorial: https://github.com/OWASP/railsgoat/wiki/A2-Credential-Enumeration -rspec ./spec/vulnerabilities/xss_spec.rb:9 # xss attack -Tutorial: https://github.com/OWASP/railsgoat/wiki/A3-Cross-Site-Scripting -rspec ./spec/vulnerabilities/insecure_dor_spec.rb:9 # insecure direct object reference attack one -rspec ./spec/vulnerabilities/insecure_dor_spec.rb:23 # insecure direct object reference attack two -Tutorial: https://github.com/OWASP/railsgoat/wiki/A4-Insecure-Direct-Object-Reference -rspec ./spec/vulnerabilities/sql_injection_spec.rb:10 # sql injection attack -Tutorial: https://github.com/OWASP/railsgoat/wiki/R4-A1-SQL-Injection-Concatentation -rspec ./spec/models/benefits_spec.rb:13 # User can be instantiated -rspec ./spec/models/benefits_spec.rb:17 # User name can be updated -rspec ./spec/vulnerabilities/mass_assignment_spec.rb:9 # mass assignment attack one -rspec ./spec/vulnerabilities/mass_assignment_spec.rb:24 # mass assignment attack two, Tutorial: https://github.com/OWASP/railsgoat/wiki/R5-Extras-Mass-Assignment-Admin-Role -rspec ./spec/vulnerabilities/password_complexity_spec.rb:9 # password complexity one -Tutorial: https://github.com/OWASP/railsgoat/wiki/A2-Lack-of-Password-Complexity -rspec ./spec/models/user_spec.rb:13 # User can be instantiated -rspec ./spec/models/user_spec.rb:17 # User should require a email -rspec ./spec/models/user_spec.rb:21 # User should require valid email -rspec ./spec/models/user_spec.rb:25 # User should require unique email -rspec ./spec/models/user_spec.rb:30 # User name can be updated -rspec ./spec/vulnerabilities/unvalidated_redirects_spec.rb:9 # unvalidated redirect attack -Tutorial: https://github.com/OWASP/railsgoat/wiki/A10-Unvalidated-Redirects-and-Forwards-(redirect_to) - -Randomized with seed 33309 - diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 72934dd..75e3560 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -24,9 +24,6 @@ RSpec.configure do |config| # config.mock_with :flexmock # config.mock_with :rr - # Remove this line if you're not using ActiveRecord or ActiveRecord fixtures - config.fixture_path = "#{::Rails.root}/spec/fixtures" - # If you're not using ActiveRecord, or you'd prefer not to run each of your # examples within a transaction, remove the following line or assign false # instead of true. diff --git a/test/controllers/.keep b/test/controllers/.keep deleted file mode 100644 index e69de29..0000000 diff --git a/test/fixtures/.keep b/test/fixtures/.keep deleted file mode 100644 index e69de29..0000000 diff --git a/test/fixtures/benefits.yml b/test/fixtures/benefits.yml deleted file mode 100644 index 9cfe87b..0000000 --- a/test/fixtures/benefits.yml +++ /dev/null @@ -1,11 +0,0 @@ -# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/Fixtures.html - -# This model initially had no columns defined. If you add columns to the -# model remove the '{}' from the fixture names and add the columns immediately -# below each fixture, per the syntax in the comments below -# -#one: {} -# column: value -# -#two: {} -# column: value diff --git a/test/fixtures/paid_time_offs.yml b/test/fixtures/paid_time_offs.yml deleted file mode 100644 index b5d4bd1..0000000 --- a/test/fixtures/paid_time_offs.yml +++ /dev/null @@ -1,15 +0,0 @@ -# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/Fixtures.html - -one: - user_id: 1 - sick_days_taken: 1 - sick_days_earned: 1 - pto_taken: 1 - pto_earned: 1 - -two: - user_id: 1 - sick_days_taken: 1 - sick_days_earned: 1 - pto_taken: 1 - pto_earned: 1 diff --git a/test/fixtures/performances.yml b/test/fixtures/performances.yml deleted file mode 100644 index 74a3abb..0000000 --- a/test/fixtures/performances.yml +++ /dev/null @@ -1,15 +0,0 @@ -# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/Fixtures.html - -one: - user_id: 1 - date_submitted: 2013-05-31 - score: 1 - comments: MyString - reviewer: 1 - -two: - user_id: 1 - date_submitted: 2013-05-31 - score: 1 - comments: MyString - reviewer: 1 diff --git a/test/fixtures/retirements.yml b/test/fixtures/retirements.yml deleted file mode 100644 index ee49de8..0000000 --- a/test/fixtures/retirements.yml +++ /dev/null @@ -1,13 +0,0 @@ -# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/Fixtures.html - -one: - total: MyString - employee_contrib: MyString - employer_contrib: MyString - user_id: MyString - -two: - total: MyString - employee_contrib: MyString - employer_contrib: MyString - user_id: MyString diff --git a/test/fixtures/schedules.yml b/test/fixtures/schedules.yml deleted file mode 100644 index 6827e86..0000000 --- a/test/fixtures/schedules.yml +++ /dev/null @@ -1,17 +0,0 @@ -# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/Fixtures.html - -one: - event_type: MyString - date_begin: 2013-05-27 - date_end: 2013-05-27 - event_name: MyString - event_desc: MyString - user_id: 1 - -two: - event_type: MyString - date_begin: 2013-05-27 - date_end: 2013-05-27 - event_name: MyString - event_desc: MyString - user_id: 1 diff --git a/test/fixtures/users.yml b/test/fixtures/users.yml deleted file mode 100755 index 2e0c740..0000000 --- a/test/fixtures/users.yml +++ /dev/null @@ -1,9 +0,0 @@ -# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/Fixtures.html - -one: - email: MyString - password: MyString - -two: - email: MyString - password: MyString diff --git a/test/fixtures/work_infos.yml b/test/fixtures/work_infos.yml deleted file mode 100644 index 6aeb3bc..0000000 --- a/test/fixtures/work_infos.yml +++ /dev/null @@ -1,17 +0,0 @@ -# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/Fixtures.html - -one: - user_id: 1 - income: MyString - bonuses: MyString - years_worked: 1 - SSN: MyString - DoB: 2013-05-31 - -two: - user_id: 1 - income: MyString - bonuses: MyString - years_worked: 1 - SSN: MyString - DoB: 2013-05-31 diff --git a/test/functional/admin_controller_test.rb b/test/functional/admin_controller_test.rb deleted file mode 100755 index 7bb9eb9..0000000 --- a/test/functional/admin_controller_test.rb +++ /dev/null @@ -1,7 +0,0 @@ -require 'test_helper' - -class AdminControllerTest < ActionController::TestCase - # test "the truth" do - # assert true - # end -end diff --git a/test/functional/benefit_forms_controller_test.rb b/test/functional/benefit_forms_controller_test.rb deleted file mode 100644 index 292f2f9..0000000 --- a/test/functional/benefit_forms_controller_test.rb +++ /dev/null @@ -1,7 +0,0 @@ -require 'test_helper' - -class BenefitFormsControllerTest < ActionController::TestCase - # test "the truth" do - # assert true - # end -end diff --git a/test/functional/dashboard_controller_test.rb b/test/functional/dashboard_controller_test.rb deleted file mode 100755 index b72f3c0..0000000 --- a/test/functional/dashboard_controller_test.rb +++ /dev/null @@ -1,7 +0,0 @@ -require 'test_helper' - -class DashboardControllerTest < ActionController::TestCase - # test "the truth" do - # assert true - # end -end diff --git a/test/functional/paid_time_off_controller_test.rb b/test/functional/paid_time_off_controller_test.rb deleted file mode 100644 index 992d400..0000000 --- a/test/functional/paid_time_off_controller_test.rb +++ /dev/null @@ -1,7 +0,0 @@ -require 'test_helper' - -class PaidTimeOffControllerTest < ActionController::TestCase - # test "the truth" do - # assert true - # end -end diff --git a/test/functional/performance_controller_test.rb b/test/functional/performance_controller_test.rb deleted file mode 100644 index f0de602..0000000 --- a/test/functional/performance_controller_test.rb +++ /dev/null @@ -1,7 +0,0 @@ -require 'test_helper' - -class PerformanceControllerTest < ActionController::TestCase - # test "the truth" do - # assert true - # end -end diff --git a/test/functional/retirement_controller_test.rb b/test/functional/retirement_controller_test.rb deleted file mode 100644 index 9f23c11..0000000 --- a/test/functional/retirement_controller_test.rb +++ /dev/null @@ -1,7 +0,0 @@ -require 'test_helper' - -class RetirementControllerTest < ActionController::TestCase - # test "the truth" do - # assert true - # end -end diff --git a/test/functional/schedule_controller_test.rb b/test/functional/schedule_controller_test.rb deleted file mode 100644 index 25a9061..0000000 --- a/test/functional/schedule_controller_test.rb +++ /dev/null @@ -1,7 +0,0 @@ -require 'test_helper' - -class ScheduleControllerTest < ActionController::TestCase - # test "the truth" do - # assert true - # end -end diff --git a/test/functional/sessions_controller_test.rb b/test/functional/sessions_controller_test.rb deleted file mode 100755 index d30ebc3..0000000 --- a/test/functional/sessions_controller_test.rb +++ /dev/null @@ -1,7 +0,0 @@ -require 'test_helper' - -class SessionsControllerTest < ActionController::TestCase - # test "the truth" do - # assert true - # end -end diff --git a/test/functional/tutorials_controller_test.rb b/test/functional/tutorials_controller_test.rb deleted file mode 100755 index c3cc720..0000000 --- a/test/functional/tutorials_controller_test.rb +++ /dev/null @@ -1,7 +0,0 @@ -require 'test_helper' - -class TutorialsControllerTest < ActionController::TestCase - # test "the truth" do - # assert true - # end -end diff --git a/test/functional/users_controller_test.rb b/test/functional/users_controller_test.rb deleted file mode 100755 index dfbee34..0000000 --- a/test/functional/users_controller_test.rb +++ /dev/null @@ -1,5 +0,0 @@ -require 'test_helper' - -class UsersControllerTest < ActionController::TestCase - -end \ No newline at end of file diff --git a/test/functional/work_info_controller_test.rb b/test/functional/work_info_controller_test.rb deleted file mode 100644 index 56b393a..0000000 --- a/test/functional/work_info_controller_test.rb +++ /dev/null @@ -1,7 +0,0 @@ -require 'test_helper' - -class WorkInfoControllerTest < ActionController::TestCase - # test "the truth" do - # assert true - # end -end diff --git a/test/helpers/.keep b/test/helpers/.keep deleted file mode 100644 index e69de29..0000000 diff --git a/test/integration/.gitkeep b/test/integration/.gitkeep deleted file mode 100755 index e69de29..0000000 diff --git a/test/integration/.keep b/test/integration/.keep deleted file mode 100644 index e69de29..0000000 diff --git a/test/mailers/.keep b/test/mailers/.keep deleted file mode 100644 index e69de29..0000000 diff --git a/test/models/.keep b/test/models/.keep deleted file mode 100644 index e69de29..0000000 diff --git a/test/performance/browsing_test.rb b/test/performance/browsing_test.rb deleted file mode 100755 index 3fea27b..0000000 --- a/test/performance/browsing_test.rb +++ /dev/null @@ -1,12 +0,0 @@ -require 'test_helper' -require 'rails/performance_test_help' - -class BrowsingTest < ActionDispatch::PerformanceTest - # Refer to the documentation for all available options - # self.profile_options = { :runs => 5, :metrics => [:wall_time, :memory] - # :output => 'tmp/performance', :formats => [:flat] } - - def test_homepage - get '/' - end -end diff --git a/test/test_helper.rb b/test/test_helper.rb deleted file mode 100755 index 9f44476..0000000 --- a/test/test_helper.rb +++ /dev/null @@ -1,20 +0,0 @@ -ENV["RAILS_ENV"] ||= "test" - -# To use simplecov, do this: COVERAGE=true rake -require 'simplecov' -SimpleCov.start if ENV["COVERAGE"] - -require File.expand_path('../../config/environment', __FILE__) -require 'rails/test_help' - -class ActiveSupport::TestCase - # Maybe for Rails 4.0: ActiveRecord::Migration.check_pending! - - # Setup all fixtures in test/fixtures/*.(yml|csv) for all tests in alphabetical order. - # - # Note: You'll currently still have to declare fixtures explicitly in integration tests - # -- they do not yet inherit this setting - fixtures :all - - # Add more helper methods to be used by all tests here... -end diff --git a/test/unit/benefits_test.rb b/test/unit/benefits_test.rb deleted file mode 100644 index faca8c7..0000000 --- a/test/unit/benefits_test.rb +++ /dev/null @@ -1,2 +0,0 @@ -require 'test_helper' - diff --git a/test/unit/helpers/admin_helper_test.rb b/test/unit/helpers/admin_helper_test.rb deleted file mode 100755 index 23d9f40..0000000 --- a/test/unit/helpers/admin_helper_test.rb +++ /dev/null @@ -1,4 +0,0 @@ -require 'test_helper' - -class AdminHelperTest < ActionView::TestCase -end diff --git a/test/unit/helpers/benefit_forms_helper_test.rb b/test/unit/helpers/benefit_forms_helper_test.rb deleted file mode 100644 index 4b27105..0000000 --- a/test/unit/helpers/benefit_forms_helper_test.rb +++ /dev/null @@ -1,4 +0,0 @@ -require 'test_helper' - -class BenefitFormsHelperTest < ActionView::TestCase -end diff --git a/test/unit/helpers/dashboard_helper_test.rb b/test/unit/helpers/dashboard_helper_test.rb deleted file mode 100755 index 4300e71..0000000 --- a/test/unit/helpers/dashboard_helper_test.rb +++ /dev/null @@ -1,4 +0,0 @@ -require 'test_helper' - -class DashboardHelperTest < ActionView::TestCase -end diff --git a/test/unit/helpers/paid_time_off_helper_test.rb b/test/unit/helpers/paid_time_off_helper_test.rb deleted file mode 100644 index 6950bb8..0000000 --- a/test/unit/helpers/paid_time_off_helper_test.rb +++ /dev/null @@ -1,4 +0,0 @@ -require 'test_helper' - -class PaidTimeOffHelperTest < ActionView::TestCase -end diff --git a/test/unit/helpers/performance_helper_test.rb b/test/unit/helpers/performance_helper_test.rb deleted file mode 100644 index fa3612d..0000000 --- a/test/unit/helpers/performance_helper_test.rb +++ /dev/null @@ -1,4 +0,0 @@ -require 'test_helper' - -class PerformanceHelperTest < ActionView::TestCase -end diff --git a/test/unit/helpers/retirement_helper_test.rb b/test/unit/helpers/retirement_helper_test.rb deleted file mode 100644 index e7dcb8f..0000000 --- a/test/unit/helpers/retirement_helper_test.rb +++ /dev/null @@ -1,4 +0,0 @@ -require 'test_helper' - -class RetirementHelperTest < ActionView::TestCase -end diff --git a/test/unit/helpers/schedule_helper_test.rb b/test/unit/helpers/schedule_helper_test.rb deleted file mode 100644 index 9955464..0000000 --- a/test/unit/helpers/schedule_helper_test.rb +++ /dev/null @@ -1,4 +0,0 @@ -require 'test_helper' - -class ScheduleHelperTest < ActionView::TestCase -end diff --git a/test/unit/helpers/sessions_helper_test.rb b/test/unit/helpers/sessions_helper_test.rb deleted file mode 100755 index 7d44e09..0000000 --- a/test/unit/helpers/sessions_helper_test.rb +++ /dev/null @@ -1,4 +0,0 @@ -require 'test_helper' - -class SessionsHelperTest < ActionView::TestCase -end diff --git a/test/unit/helpers/tutorials_helper_test.rb b/test/unit/helpers/tutorials_helper_test.rb deleted file mode 100755 index dae016c..0000000 --- a/test/unit/helpers/tutorials_helper_test.rb +++ /dev/null @@ -1,4 +0,0 @@ -require 'test_helper' - -class TutorialsHelperTest < ActionView::TestCase -end diff --git a/test/unit/helpers/users_helper_test.rb b/test/unit/helpers/users_helper_test.rb deleted file mode 100755 index 96af37a..0000000 --- a/test/unit/helpers/users_helper_test.rb +++ /dev/null @@ -1,4 +0,0 @@ -require 'test_helper' - -class UsersHelperTest < ActionView::TestCase -end diff --git a/test/unit/helpers/work_info_helper_test.rb b/test/unit/helpers/work_info_helper_test.rb deleted file mode 100644 index f5a236c..0000000 --- a/test/unit/helpers/work_info_helper_test.rb +++ /dev/null @@ -1,4 +0,0 @@ -require 'test_helper' - -class WorkInfoHelperTest < ActionView::TestCase -end diff --git a/test/unit/paid_time_off_test.rb b/test/unit/paid_time_off_test.rb deleted file mode 100644 index 44aa6d8..0000000 --- a/test/unit/paid_time_off_test.rb +++ /dev/null @@ -1,7 +0,0 @@ -require 'test_helper' - -class PaidTimeOffTest < ActiveSupport::TestCase - # test "the truth" do - # assert true - # end -end diff --git a/test/unit/performance_test.rb b/test/unit/performance_test.rb deleted file mode 100644 index d711513..0000000 --- a/test/unit/performance_test.rb +++ /dev/null @@ -1,7 +0,0 @@ -require 'test_helper' - -class PerformanceTest < ActiveSupport::TestCase - # test "the truth" do - # assert true - # end -end diff --git a/test/unit/retirement_test.rb b/test/unit/retirement_test.rb deleted file mode 100644 index 02aa836..0000000 --- a/test/unit/retirement_test.rb +++ /dev/null @@ -1,7 +0,0 @@ -require 'test_helper' - -class RetirementTest < ActiveSupport::TestCase - # test "the truth" do - # assert true - # end -end diff --git a/test/unit/schedule_test.rb b/test/unit/schedule_test.rb deleted file mode 100644 index 8e3ee1d..0000000 --- a/test/unit/schedule_test.rb +++ /dev/null @@ -1,7 +0,0 @@ -require 'test_helper' - -class ScheduleTest < ActiveSupport::TestCase - # test "the truth" do - # assert true - # end -end diff --git a/test/unit/user_test.rb b/test/unit/user_test.rb deleted file mode 100755 index 82f61e0..0000000 --- a/test/unit/user_test.rb +++ /dev/null @@ -1,7 +0,0 @@ -require 'test_helper' - -class UserTest < ActiveSupport::TestCase - # test "the truth" do - # assert true - # end -end diff --git a/test/unit/work_info_test.rb b/test/unit/work_info_test.rb deleted file mode 100644 index 775aec1..0000000 --- a/test/unit/work_info_test.rb +++ /dev/null @@ -1,7 +0,0 @@ -require 'test_helper' - -class WorkInfoTest < ActiveSupport::TestCase - # test "the truth" do - # assert true - # end -end