forked from AgileVentures/WebsiteOne
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' of https://github.com/AgileVentures/WebsiteOne …
…into alternative_configure_docker
- Loading branch information
Showing
11 changed files
with
90 additions
and
15 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
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
5 changes: 5 additions & 0 deletions
5
db/migrate/20180729040001_add_slack_channel_name_to_projects.rb
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
class AddSlackChannelNameToProjects < ActiveRecord::Migration[5.1] | ||
def change | ||
add_column :projects, :slack_channel_name, :string | ||
end | ||
end |
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 |
---|---|---|
@@ -0,0 +1,44 @@ | ||
Feature: Projects should show links to the connected APIs | ||
As a User | ||
So that I can easily navigate to Project apps | ||
I want to see all connected app links on the show page | ||
|
||
Background: | ||
Given the following users exist | ||
| first_name | last_name | email | receive_mailings | | ||
| Bill | Bob | Bill@example.com | true | | ||
|
||
Given the following projects exist: | ||
| title | description | status | author | pivotaltracker_url | github_url | slack_channel_name | | ||
| hello | earthlings | active | Bill | https://www.pivotaltracker.com/n/projects/742821 | https://github.com/hello | hello_earthlings | | ||
| Bat Man | All bat | active | Bill | | | | | ||
|
||
Scenario: I can see a link to the GitHub project page | ||
When I go to the "hello" project "show" page | ||
Then I should see "hello on GitHub" | ||
And I should see a link to "hello" on github | ||
|
||
Scenario: I can see when a project is not connected to GitHub | ||
When I go to the "Bat Man" project "show" page | ||
Then I should not see "Bat Man on GitHub" | ||
And I should see "not linked to GitHub" | ||
|
||
Scenario: I can see a link to the projects issue tracker | ||
When I go to the "hello" project "show" page | ||
Then I should see "hello on IssueTracker" | ||
And I should see a link to "hello" on Pivotal Tracker | ||
|
||
Scenario: I can see when a project is not connected to issue tracker | ||
When I go to the "Bat Man" project "show" page | ||
Then I should not see "Bat Man on IssueTracker" | ||
And I should see "not linked to IssueTracker" | ||
|
||
Scenario: I can see a link to the projects slack channel | ||
When I go to the "hello" project "show" page | ||
Then I should see "hello on Slack" | ||
And I should see a link to the slack channel for "hello" | ||
|
||
Scenario: I can see when a project is not connected to slack | ||
When I go to the "Bat Man" project "show" page | ||
Then I should not see "Bat Man on Slack" | ||
And I should see "not linked to Slack" |
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