Skip to content

Commit b58beb5

Browse files
authored
Merge pull request #32 from basemate/jonasjabari-patch-4
Fixed Specs for CI
2 parents 51a5c5d + 9b87efe commit b58beb5

File tree

3 files changed

+4
-25
lines changed

3 files changed

+4
-25
lines changed

.circleci/config.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,15 +36,15 @@ jobs:
3636
- ./vendor/bundle
3737
key: v1-dependencies-{{ checksum "Gemfile.lock" }}
3838

39-
# Database setup
40-
# - run: bundle exec rake db:create
41-
# - run: bundle exec rake db:schema:load
42-
4339
# Yarn Update
4440

4541
- run: yarn install
4642
- run: cd spec/dummy
4743
- run: yarn install
44+
45+
# Database setup
46+
- run: bundle exec rake db:create
47+
- run: bundle exec rake db:schema:load
4848

4949
# run tests!
5050
- run:

spec/usage/base/component_spec.rb

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -465,7 +465,6 @@ def response
465465
components {
466466
div id: "my-component" do
467467
slot @options[:my_first_slot]
468-
br
469468
slot @options[:my_second_slot]
470469
end
471470
}
@@ -516,7 +515,6 @@ def my_second_simple_slot
516515
<span id="my_simple_slot">
517516
some content
518517
</span>
519-
<br/>
520518
<span id="my_simple_slot">
521519
foo from page
522520
</span>
@@ -568,9 +566,7 @@ def response
568566
components {
569567
div id: "my-other-component" do
570568
slot @options[:slots][:my_slot_from_component]
571-
br
572569
slot @options[:slots][:my_slot_from_page]
573-
br
574570
plain @foo
575571
end
576572
}
@@ -613,11 +609,9 @@ def my_slot_from_page
613609
<span id="my-slot-from-component">
614610
foo from component
615611
</span>
616-
<br/>
617612
<span id="my-slot-from-page">
618613
foo from page
619614
</span>
620-
<br/>
621615
foo from other component
622616
</div>
623617
</div>

spec/usage/base/page_spec.rb

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -122,9 +122,7 @@ def response
122122
components {
123123
div do
124124
partial :my_simple_partial
125-
br
126125
partial :my_partial_with_param, "foo"
127-
br
128126
partial :my_partial_with_partial
129127
end
130128
}
@@ -179,14 +177,10 @@ def my_action
179177
some content
180178
</span>
181179
182-
<br/>
183-
184180
<span id="my_partial_with_param">
185181
content with param: foo
186182
</span>
187183
188-
<br/>
189-
190184
<span id="my_partial_with_partial">
191185
192186
<span id="my_simple_partial">
@@ -198,7 +192,6 @@ def my_action
198192
</div>
199193
HTML
200194

201-
202195
expect(stripped(static_output)).to include(stripped(expected_static_output))
203196

204197
end
@@ -225,9 +218,7 @@ def response
225218
components {
226219
div do
227220
partial :my_simple_partial
228-
br
229221
partial :my_partial_with_param, "foo"
230-
br
231222
partial :my_partial_with_partial
232223
end
233224
}
@@ -274,14 +265,10 @@ def my_action
274265
some content
275266
</span>
276267
277-
<br/>
278-
279268
<span id="my_partial_with_param">
280269
content with param: foo
281270
</span>
282271
283-
<br/>
284-
285272
<span id="my_partial_with_partial">
286273
287274
<span id="my_simple_partial">
@@ -316,7 +303,6 @@ def response
316303
components {
317304
div id: "my-component" do
318305
slot options[:my_first_slot]
319-
br
320306
slot options[:my_second_slot]
321307
end
322308
}
@@ -379,7 +365,6 @@ def my_action
379365
<span id="my_simple_slot">
380366
some content
381367
</span>
382-
<br/>
383368
<span id="my_simple_slot">
384369
foo from page
385370
</span>

0 commit comments

Comments
 (0)