Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion features/step_definitions/common.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
end

When /^I perform the :([a-z_]*?) rest request$/ do |yaml_key|
@result = env.rest_request_executor.exec(user: user, req: yaml_key.to_sym)
@result = user.rest_request(yaml_key.to_sym)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sehr gut

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@akostadinov...had to do Google Translate this...now I know a German phrase. :)

end

When /^I perform the :([a-z_]*?) rest request with:$/ do |yaml_key, table|
Expand Down
2 changes: 2 additions & 0 deletions features/test/rest.feature
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ Feature: Testing REST Scenarios
| display name | OpenShift 3 Demo |
| description | This is the first demo project with OpenShift v3 |
Then the step should succeed
# timing issue, making sure the project is there fist
And I use the "demo" project
When I perform the :list_projects rest request
Then the step should succeed
And the output should contain:
Expand Down