This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| gem list | |
| *** LOCAL GEMS *** | |
| actionmailer (2.2.2) | |
| actionpack (2.2.2) | |
| activemodel (3.0.1) | |
| activerecord (2.2.2) | |
| activeresource (2.2.2) | |
| activesupport (3.0.1, 2.2.2) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| actionmailer (2.3.5) | |
| actionpack (2.3.5) | |
| activemodel (3.0.1) | |
| activerecord (2.3.5) | |
| activeresource (2.3.5) | |
| activesupport (3.0.1, 2.3.5) | |
| autotest-fsevent (0.2.3) | |
| autotest-growl (0.2.6) | |
| autotest-rails (4.1.0) | |
| builder (2.1.2) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb | |
| index 8b10472..3716fac 100644 | |
| --- a/app/controllers/application_controller.rb | |
| +++ b/app/controllers/application_controller.rb | |
| @@ -6,7 +6,7 @@ class ApplicationController < ActionController::Base | |
| filter_parameter_logging :password, :password_confirmation | |
| helper_method :current_user, :signed_in?, :lawgical_employees, :client_lawgical_url, :profile_errors? | |
| - before_filter :authenticate, :set_time_zone | |
| + before_filter :authenticate, :set_time_zone, :check_change_password |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Scenario: Generic field sanitization | |
| Given I am an advertising user "hi@example.net"/"password" | |
| And I have the extended profile (law profile) on the site "Lawgical.com" (law) | |
| And I am subscribed to the product "Big Funzy Site" on the profile (law profile) for $87 monthly | |
| And the profile (law profile) has the following content fields defined: | |
| | generic_field_number | field_name | description | default_text | output_format | | |
| | 1 | Cat Food Name | | | html | | |
| And I have signed in with "hi@example.net"/"password" | |
| When I go to the products page | |
| And I follow "Manage Profiles" within the site "Lawgical.com" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| SELECT | |
| overlapped_profiles.* | |
| FROM | |
| ( | |
| SELECT | |
| profiles.id as profile_id, | |
| site_id, | |
| location_id, | |
| profile_type_id |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Factory.define :seattle_profile_with_products, :parent => :profile do |f| | |
| f.primary_address { Factory.create(:primary_address) } | |
| f.profile_type do | |
| pt = ProfileType.find_by_name('County Profile') | |
| pt ||= Factory.create(:profile_type, :name => "County Profile") | |
| end | |
| f.after_create do |profile| | |
| Factory.create :seattle_loc | |
| Factory.create :seattle_zip_loc | |
| product = Factory.create(:product_in_king_county, :site => profile.site) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Factory.define :wisconsin_profile_with_products, :parent => :state_profile do |f| | |
| f.primary_address { Factory.create(:primary_address) } | |
| f.after_create do |profile| | |
| product = Factory.create(:product_in_wisconsin, :site => profile.site) | |
| profile.locations << product.locations | |
| profile.entity.products << product | |
| end | |
| end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| - !ruby/struct:VCR::HTTPInteraction | |
| request: !ruby/struct:VCR::Request | |
| method: :put | |
| uri: !str | |
| str: http://sgcore.local:80/v1/users/36793.xml | |
| "@_rails_html_safe": false | |
| body: | | |
| <?xml version="1.0" encoding="UTF-8"?> | |
| <user> | |
| <salt>rdcoC6Vv</salt> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- | |
| - !ruby/struct:VCR::HTTPInteraction | |
| request: !ruby/struct:VCR::Request | |
| method: :post | |
| uri: !str | |
| str: http://sgcore.local:80/database_states.xml | |
| "@_rails_html_safe": false | |
| body: | | |
| <?xml version="1.0" encoding="UTF-8"?> | |
| <database-state> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Failing Scenarios: | |
| cucumber features/plain/authentication.feature:41 # Scenario: Forgot Password | |
| cucumber features/plain/authentication.feature:67 # Scenario: Terms of Service | |
| cucumber features/plain/authentication.feature:75 # Scenario: Must Change Password | |
| cucumber features/plain/authentication.feature:86 # Scenario: Asked to Update User Info | |
| cucumber features/plain/authentication.feature:99 # Scenario: Order of Operations - Authorize, ToS, Change Password, Update User Info, Original Url Redirect | |
| cucumber features/plain/entities.feature:7 # Scenario: Opt-in from Dashboard | |
| cucumber features/plain/registration.feature:10 # Scenario: New registration | |
| cucumber features/plain/registration.feature:43 # Scenario: Invited to ServeManager | |
| cucumber features/plain/registration.feature:74 # Scenario: Invited to ServeManager with pending jobs |
OlderNewer