-
Notifications
You must be signed in to change notification settings - Fork 245
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3884 from AgileVentures/develop
Update staging with develop
- Loading branch information
Showing
14 changed files
with
84 additions
and
81 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ features: | |
sender: '"Error Police" <[email protected]>' | ||
exception_recipients: ['[email protected]'] | ||
disqus: | ||
enabled: true | ||
enabled: false | ||
welcome_email: | ||
enabled: true | ||
twitter: | ||
|
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,7 +21,7 @@ Feature: As a developer | |
And the user "[email protected]" should have karma | ||
And I should see a successful sign up message | ||
And I should receive a "Welcome to AgileVentures.org" email | ||
And replies to that email should go to "info@agileventures.org" | ||
And replies to that email should go to "matt@agileventures.org" | ||
|
||
Scenario: User signs up successfully with no consent for mailings | ||
When I sign up with valid user data | ||
|
@@ -60,46 +60,46 @@ Scenario: User signs up successfully giving consent for mailings | |
And the page should contain the google adwords conversion code | ||
And I should be on the "getting started" page | ||
|
||
@omniauth | ||
Scenario: User signs up with a Google account | ||
Given I am on the "registration" page | ||
When I click "Google" | ||
Then I should see "Signed in successfully." | ||
And the page should contain the google adwords conversion code | ||
And I should be on the "getting started" page | ||
# @omniauth | ||
# Scenario: User signs up with a Google account | ||
# Given I am on the "registration" page | ||
# When I click "Google" | ||
# Then I should see "Signed in successfully." | ||
# And the page should contain the google adwords conversion code | ||
# And I should be on the "getting started" page | ||
|
||
@omniauth-without-email | ||
Scenario: User signs up with a GitHub account having no public email (sad path) | ||
Given I am on the "registration" page | ||
When I sign up with GitHub | ||
Then I should see link for instructions to sign up | ||
|
||
@omniauth-without-email | ||
Scenario: User signs up with a Google account having no public email (sad path) | ||
Given I am on the "registration" page | ||
When I click "Google" | ||
Then I should see the "google" icon | ||
Then I should see "Your Gplus account needs to have a public email address for sign up" | ||
And I should not see "Password can't be blank" | ||
# @omniauth-without-email | ||
# Scenario: User signs up with a Google account having no public email (sad path) | ||
# Given I am on the "registration" page | ||
# When I click "Google" | ||
# Then I should see the "google" icon | ||
# Then I should see "Your Gplus account needs to have a public email address for sign up" | ||
# And I should not see "Password can't be blank" | ||
|
||
@omniauth | ||
Scenario: User is deactivated and tries to sign up again with google | ||
Given I exist as a user signed up via google | ||
And I am not logged in | ||
And I have deactivated my account | ||
And I am on the "registration" page | ||
And I click "Google" | ||
Then I see a user deactivated message | ||
And I should be signed out | ||
# @omniauth | ||
# Scenario: User is deactivated and tries to sign up again with google | ||
# Given I exist as a user signed up via google | ||
# And I am not logged in | ||
# And I have deactivated my account | ||
# And I am on the "registration" page | ||
# And I click "Google" | ||
# Then I see a user deactivated message | ||
# And I should be signed out | ||
|
||
@omniauth | ||
Scenario: User is deactivated and tries to sign up again with email | ||
Given I exist as a user signed up via google | ||
And I am not logged in | ||
And I have deactivated my account | ||
And I am on the "registration" page | ||
And I submit "[email protected]" as username | ||
And I submit "password" as password | ||
And I click "Sign up" button | ||
Then I see a user deactivated message | ||
And I should be signed out | ||
# @omniauth | ||
# Scenario: User is deactivated and tries to sign up again with email | ||
# Given I exist as a user signed up via google | ||
# And I am not logged in | ||
# And I have deactivated my account | ||
# And I am on the "registration" page | ||
# And I submit "[email protected]" as username | ||
# And I submit "password" as password | ||
# And I click "Sign up" button | ||
# Then I see a user deactivated message | ||
# And I should be signed out |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,8 +5,8 @@ | |
let(:plan) { instance_double(Plan, name: 'Premium', free_trial_length_days: 7, free_trial?: true, category: nil) } | ||
it 'is expected to send payment complete message' do | ||
mail = Mailer.send_premium_payment_complete(plan, '[email protected]') | ||
expect(mail.from).to include('info@agileventures.org') | ||
expect(mail.reply_to).to include('info@agileventures.org') | ||
expect(mail.from).to include('matt@agileventures.org') | ||
expect(mail.reply_to).to include('matt@agileventures.org') | ||
expect(mail.to).to include('[email protected]') | ||
expect(mail.subject).to include('Welcome to AgileVentures Premium') | ||
expect(mail.body.raw_source).to include('Thanks for signing up for AgileVentures Premium!') | ||
|
@@ -24,8 +24,8 @@ | |
|
||
it 'is expected to send welcome message' do | ||
mail = Mailer.send_welcome_message(@user) | ||
expect(mail.from).to include('info@agileventures.org') | ||
expect(mail.reply_to).to include('info@agileventures.org') | ||
expect(mail.from).to include('matt@agileventures.org') | ||
expect(mail.reply_to).to include('matt@agileventures.org') | ||
expect(mail.to).to include('[email protected]') | ||
expect(mail.subject).to include('Welcome to AgileVentures.org') | ||
expect(mail.body.raw_source).to include('Welcome!') | ||
|
This file contains 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