acceptance_test 1.9.3 → 1.9.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/CHANGES +4 -0
- data/lib/acceptance_test/page_set.rb +4 -1
- data/lib/acceptance_test/version.rb +1 -1
- data/spec/support/pages/wikipedia_pages.rb +2 -4
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
Y2Y2NDhmZTJjNDhmOGJjNGU0MmJlMzBhYTVhYjdiZDViMWJjZDU1Zg==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
MTU3ZTVhZTVjMGJlODllZDlhZmY5NTU3NDU5YmYyMjYyOGFjYjU4YQ==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
ZDQ1NDAzYTc3ZmEyYTY0YTZkNzU1ZWViMDdhZDhkOTE0N2E4ZjMyZjdjOWM2
|
10
|
+
Y2NhNDNiODdlYzNmNjhiNmRmNDM4NzNlNWI0ZGU0NWE5M2ZhY2YwNzQ3MjYz
|
11
|
+
YmZlMjg5NWM2NzhmYWJhYWY0MTM1NzM3OTA4Y2Y5ODZhMzU2ZGM=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
MTRhMjJhYmJjM2Q4NWM0ZmRhMjE5NTgzYTRiZjdjN2UwNmRiY2I4YjQwOTVj
|
14
|
+
ZWI3ZjVlZDAxOWQ4YzM3MDI4MDA1NzkzZGMyMjE5MmMxYjkxNDE3OTMwMzBl
|
15
|
+
OGY4MjU5ODhmZGZlZjcxOGI5MWQyNDM3MTJjNzgyYzUwYzQzZGY=
|
data/CHANGES
CHANGED
@@ -9,8 +9,9 @@ class PageSet
|
|
9
9
|
attr_accessor :context
|
10
10
|
attr_reader :pages
|
11
11
|
|
12
|
-
def initialize context
|
12
|
+
def initialize context, smart_completion=true
|
13
13
|
@context = context
|
14
|
+
@smart_completion = smart_completion
|
14
15
|
@pages = []
|
15
16
|
end
|
16
17
|
|
@@ -26,6 +27,8 @@ class PageSet
|
|
26
27
|
pages.each do |page|
|
27
28
|
delegate_to_page page
|
28
29
|
end
|
30
|
+
|
31
|
+
enable_smart_completion if @smart_completion
|
29
32
|
end
|
30
33
|
|
31
34
|
def delegate_to_page page
|
@@ -9,14 +9,12 @@ class WikipediaPages < PageSet
|
|
9
9
|
|
10
10
|
attr_reader :context
|
11
11
|
|
12
|
-
def initialize session
|
13
|
-
super session
|
12
|
+
def initialize session
|
13
|
+
super session, true
|
14
14
|
|
15
15
|
@main_page = MainPage.new self
|
16
16
|
|
17
17
|
delegate_to_pages :main_page
|
18
|
-
|
19
|
-
enable_smart_completion if smart_completion
|
20
18
|
end
|
21
19
|
|
22
20
|
end
|