Skip to content

Commit bef2edf

Browse files
committed
spec: re-enable pebblekit ios/android tests
Signed-off-by: Ruby Iris Juric <[email protected]>
1 parent 60b91c8 commit bef2edf

File tree

2 files changed

+22
-22
lines changed

2 files changed

+22
-22
lines changed

spec/pebble_documentation_android_spec.rb

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,11 @@
3636
@doc.load_symbols(@symbols)
3737
end
3838

39-
xit 'should add symbols to the list' do
39+
it 'should add symbols to the list' do
4040
expect(@symbols.size).to be > 0
4141
end
4242

43-
xit 'should contain some known symbols' do
43+
it 'should contain some known symbols' do
4444
symbols = %w(
4545
com.getpebble.android.kit.Constants
4646
com.getpebble.android.kit.PebbleKit.registerReceivedDataHandler
@@ -49,19 +49,19 @@
4949
symbols.each { |name| expect(find_symbol(@symbols, name)).to_not be(nil) }
5050
end
5151

52-
xit 'should tag all symbols with the correct language' do
52+
it 'should tag all symbols with the correct language' do
5353
expect(@symbols.any? { |symbol| symbol[:language] != 'pebblekit_android' })
5454
.to be(false)
5555
end
5656

57-
xit 'should create symbols with correct URLS' do
57+
it 'should create symbols with correct URLS' do
5858
wrong_prefix = @symbols.any? do |symbol|
5959
!symbol[:url].start_with?('/docs/pebblekit-android/')
6060
end
6161
expect(wrong_prefix).to be(false)
6262
end
6363

64-
xit 'should not create two symbols that clash' do
64+
it 'should not create two symbols that clash' do
6565
expect(clashing_symbols(@symbols)).to be false
6666
end
6767
end
@@ -72,11 +72,11 @@
7272
@doc.create_pages(@pages)
7373
end
7474

75-
xit 'should add some pages to the list' do
75+
it 'should add some pages to the list' do
7676
expect(@pages.size).to be > 0
7777
end
7878

79-
xit 'should create pages with contents and group exposed' do
79+
it 'should create pages with contents and group exposed' do
8080
page = @pages[0]
8181
expect(page.contents).to_not be(nil)
8282
expect(page.group).to_not be(nil)
@@ -89,11 +89,11 @@
8989
@doc.build_tree(@tree)
9090
end
9191

92-
xit 'should populate the tree' do
92+
it 'should populate the tree' do
9393
expect(@tree.size).to be > 0
9494
end
9595

96-
xit 'should create tree objects formatted properly' do
96+
it 'should create tree objects formatted properly' do
9797
@tree.each { |branch| valid_branch(branch) }
9898
end
9999
end
@@ -108,7 +108,7 @@
108108
@doc.load_symbols(@symbols)
109109
end
110110

111-
xit 'should have a page for every symbol' do
111+
it 'should have a page for every symbol' do
112112
symbol_to_page_completeness(@symbols, @pages)
113113
end
114114
end

spec/pebble_documentation_ios_spec.rb

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,11 @@
3636
@doc.load_symbols(@symbols)
3737
end
3838

39-
xit 'should add symbols to the list' do
39+
it 'should add symbols to the list' do
4040
expect(@symbols.size).to be > 0
4141
end
4242

43-
xit 'should contain some known symbols' do
43+
it 'should contain some known symbols' do
4444
symbols = [
4545
'pb_pebbleDictionaryData:',
4646
'isMobileAppInstalled',
@@ -50,28 +50,28 @@
5050
symbols.each { |name| expect(find_symbol(@symbols, name)).to_not be(nil) }
5151
end
5252

53-
xit 'should tag all symbols with the correct language' do
53+
it 'should tag all symbols with the correct language' do
5454
expect(@symbols.any? { |symbol| symbol[:language] != 'pebblekit_ios' }).to be(false)
5555
end
5656

57-
xit 'should create symbols with correct URLS' do
57+
it 'should create symbols with correct URLS' do
5858
wrong_prefix = @symbols.any? do |symbol|
5959
!symbol[:url].start_with?('/docs/pebblekit-ios/')
6060
end
6161
expect(wrong_prefix).to be(false)
6262
end
6363

64-
xit 'should not create two symbols that clash'
64+
it 'should not create two symbols that clash'
6565

66-
xit 'should trim whitespace from summary' do
66+
it 'should trim whitespace from summary' do
6767
not_trimmed = @symbols.any? do |symbol|
6868
!symbol[:summary].nil? && symbol[:summary].strip != symbol[:summary]
6969
end
7070

7171
expect(not_trimmed).to be(false)
7272
end
7373

74-
xit 'should URLencode the symbol URLS' do
74+
it 'should URLencode the symbol URLS' do
7575
bad_urls = @symbols.any? do |symbol|
7676
symbol[:url].include?('+')
7777
end
@@ -85,11 +85,11 @@
8585
@doc.create_pages(@pages)
8686
end
8787

88-
xit 'should add some pages to the list' do
88+
it 'should add some pages to the list' do
8989
expect(@pages.size).to be > 0
9090
end
9191

92-
xit 'should create pages with contents and group exposed' do
92+
it 'should create pages with contents and group exposed' do
9393
page = @pages[0]
9494
expect(page.contents).to_not be(nil)
9595
expect(page.group).to_not be(nil)
@@ -102,11 +102,11 @@
102102
@doc.build_tree(@tree)
103103
end
104104

105-
xit 'should populate the tree' do
105+
it 'should populate the tree' do
106106
expect(@tree.size).to be > 0
107107
end
108108

109-
xit 'should create tree objects formatted properly' do
109+
it 'should create tree objects formatted properly' do
110110
@tree.each { |branch| valid_branch(branch) }
111111
end
112112
end
@@ -121,7 +121,7 @@
121121
@doc.load_symbols(@symbols)
122122
end
123123

124-
xit 'should have a page for every symbol' do
124+
it 'should have a page for every symbol' do
125125
symbol_to_page_completeness(@symbols, @pages)
126126
end
127127
end

0 commit comments

Comments
 (0)