Dduvall has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/183891

Change subject: Fixed misspelling and example indentation
......................................................................

Fixed misspelling and example indentation

Change-Id: I701499194cef5f19695cef3645a6393d6c55b1f4
---
M README.md
M lib/mediawiki_selenium/environment.rb
2 files changed, 18 insertions(+), 18 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/selenium 
refs/changes/91/183891/1

diff --git a/README.md b/README.md
index 4da2e57..14e0654 100644
--- a/README.md
+++ b/README.md
@@ -83,8 +83,8 @@
 `tests/browser` directory.
 
 By default, the entire suite is run which may take some time. If you wish to
-execute scenarios for just a single feature, you can given the feature file as
-an argument.
+execute scenarios for just a single feature, you can provide the feature file
+as an argument.
 
     bundle exec cucumber feature/some.feature
 
diff --git a/lib/mediawiki_selenium/environment.rb 
b/lib/mediawiki_selenium/environment.rb
index fb9f654..38cbd31 100644
--- a/lib/mediawiki_selenium/environment.rb
+++ b/lib/mediawiki_selenium/environment.rb
@@ -11,12 +11,12 @@
   # working directory. It should contain defaults for each environment in
   # which the tests are expected to run, indexed by environment name.
   #
-  #   beta:
-  #     mediawiki_url: http://en.wikipedia.beta.wmflabs.org/wiki/
-  #     mediawiki_user: Selenium_user
-  #   test2:
-  #     mediawiki_url: http://test2.wikipedia.org/wiki/
-  #     mediawiki_user: Selenium_user
+  #     beta:
+  #       mediawiki_url: http://en.wikipedia.beta.wmflabs.org/wiki/
+  #       mediawiki_user: Selenium_user
+  #     test2:
+  #       mediawiki_url: http://test2.wikipedia.org/wiki/
+  #       mediawiki_user: Selenium_user
   #
   # Which default set to use is determined by the value of the
   # `MEDIAWIKI_ENVIRONMENT` environment variable. (See {load} and
@@ -27,8 +27,8 @@
   # the default configuration as specified under `beta` in the YAML file but
   # define `mediawiki_user` as `Other_user` instead of `Selenium_user`.
   #
-  #   export MEDIAWIKI_ENVIRONMENT=beta MEDIAWIKI_USER=Other_user
-  #   bundle exec cucumber ...
+  #     export MEDIAWIKI_ENVIRONMENT=beta MEDIAWIKI_USER=Other_user
+  #     bundle exec cucumber ...
   #
   # There are various methods that allow you to perform actions in the context
   # of some alternative resource, for example as a different user using
@@ -36,15 +36,15 @@
   # the exact user names or URLs for these resources, you reference them by an
   # ID which corresponds to configuration made in `environments.yml`.
   #
-  #   # environments.yml:
-  #   beta:
-  #     # ...
-  #     mediawiki_user_b: Selenium_user2
+  #     # environments.yml:
+  #     beta:
+  #       # ...
+  #       mediawiki_user_b: Selenium_user2
   #
-  #   # step definition:
-  #   Given(/^user B has linked to a page I created$/) do
-  #     as_user(:b) { api.create_page(...) }
-  #   end
+  #     # step definition:
+  #     Given(/^user B has linked to a page I created$/) do
+  #       as_user(:b) { api.create_page(...) }
+  #     end
   #
   # This level of abstraction is intended to reduce coupling between tests
   # and test environments, and should promote step definitions that are more

-- 
To view, visit https://gerrit.wikimedia.org/r/183891
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I701499194cef5f19695cef3645a6393d6c55b1f4
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/selenium
Gerrit-Branch: env-abstraction-layer
Gerrit-Owner: Dduvall <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to