tddium-preview 0.8.0 → 0.8.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/Gemfile.lock +1 -1
- data/features/account_command.feature +1 -0
- data/lib/tddium.rb +1 -1
- data/lib/tddium/constant.rb +1 -1
- data/lib/tddium/version.rb +1 -1
- metadata +1 -1
data/Gemfile.lock
CHANGED
@@ -27,6 +27,7 @@ Feature: Account command
|
|
27
27
|
Given the user is logged in
|
28
28
|
And adding a member to the account will succeed
|
29
29
|
When I successfully run `tddium account:add member member2@example.com`
|
30
|
+
Then the output should contain "Adding member2@example.com as member..."
|
30
31
|
Then the output should contain "Added member2@example.com"
|
31
32
|
|
32
33
|
Scenario: Add member to account unsuccessfully
|
data/lib/tddium.rb
CHANGED
@@ -102,7 +102,7 @@ class Tddium < Thor
|
|
102
102
|
|
103
103
|
params = {:role=>role, :email=>email}
|
104
104
|
begin
|
105
|
-
say Text::Process::ADDING_MEMBER % params
|
105
|
+
say Text::Process::ADDING_MEMBER % [params[:email], params[:role]]
|
106
106
|
result = call_api(:post, Api::Path::MEMBERSHIPS, params)
|
107
107
|
say Text::Process::ADDED_MEMBER % email
|
108
108
|
rescue TddiumClient::Error::API => e
|
data/lib/tddium/constant.rb
CHANGED
@@ -182,7 +182,7 @@ Subdomain and API token are shared by all suites that belong to you (%s).
|
|
182
182
|
Set the "Campfire room name" to 'disable' to disable Campfire notifications
|
183
183
|
for this suite.
|
184
184
|
EOF
|
185
|
-
ADDING_MEMBER = "Adding
|
185
|
+
ADDING_MEMBER = "Adding %s as %s..."
|
186
186
|
ADDED_MEMBER = "Added %s"
|
187
187
|
REMOVING_MEMBER = "Removing %s. This may take a few seconds..."
|
188
188
|
REMOVED_MEMBER = "Removed %s"
|
data/lib/tddium/version.rb
CHANGED