page_object_on_demand 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +7 -7
- data/lib/page_object_on_demand/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 03a0c030e5b61c2d3f46bf1acfb143cecd15e066
|
4
|
+
data.tar.gz: 495693163a873f338af894dd6120d7557e1e31e7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3d2e9809807203c1f5d36a4a6e10c8be0359cca7227290a8092efeabbbd777d4a2aefd85e153d573414ab22bcdb37c87b9f5dde173074a9aef3d3bf25decadb9
|
7
|
+
data.tar.gz: 18301dfe1c29c0e6f78b6d74b08249213544468fcb7ec7a10db9d41ae7b1394276e46a12df521442e8b21c92ca4fd971b2fd6b371e818016d6acc78b7d345e45
|
data/README.md
CHANGED
@@ -20,18 +20,18 @@ Or install it yourself as:
|
|
20
20
|
|
21
21
|
## Usage
|
22
22
|
|
23
|
-
### Rails with
|
23
|
+
### Rails with RSpec and Capybara
|
24
24
|
|
25
25
|
Follow following convention:
|
26
26
|
|
27
27
|
1. Put your page object files in one of the following directories:
|
28
28
|
|
29
|
-
|
30
|
-
|
31
|
-
|
29
|
+
* `spec/features/pages/`
|
30
|
+
* `spec/features/support/pages/`
|
31
|
+
* `spec/pages/`
|
32
32
|
|
33
|
-
|
34
|
-
|
33
|
+
2. Keep one page object per file
|
34
|
+
3. `HomePage` class should be defined in `home_page.rb` file
|
35
35
|
|
36
36
|
```ruby
|
37
37
|
# spec/features/pages/home_page.rb
|
@@ -59,7 +59,7 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
|
|
59
59
|
|
60
60
|
## Contributing
|
61
61
|
|
62
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/
|
62
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/tomazy/page_object_on_demand. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](contributor-covenant.org) code of conduct.
|
63
63
|
|
64
64
|
|
65
65
|
## License
|