force the order of pages in order to pass specs in Travis

did committed Mar 26, 2015
commit 128f85a606215363ad7ea493385c62ba1e65cfb4
Showing 8 changed files with 14 additions and 9 deletions
.travis.yml +2 -3
@@ @@ -3,8 +3,7 @@ services: mongodb
rvm:
- 2.2.0
env:
- - CODECLIMATE_REPO_TOKEN=8d9c25de4eff1cd06d3accdc09775397e1a81be67e2a159453ba4e4408acae16
- - COVERALLS_REPO_TOKEN=K7iSITlpmmpgh2uanmudoO5Hv62coULxy
+ - CODECLIMATE_REPO_TOKEN=3fa74f2ade25037fccd7261090acbdeae232639c3a83aafb80ee428ec16b8cf9
addons:
code_climate:
- repo_token: 8d9c25de4eff1cd06d3accdc09775397e1a81be67e2a159453ba4e4408acae16
+ repo_token: 3fa74f2ade25037fccd7261090acbdeae232639c3a83aafb80ee428ec16b8cf9
spec/fixtures/default/app/views/pages/basic.liquid.haml +1 -0
@@ @@ -1,5 +1,6 @@
---
title: Basic page
+ position: 6
---
!!! XML
!!!
spec/fixtures/default/app/views/pages/contest.liquid.haml +2 -1
@@ @@ -1,6 +1,7 @@
---
title: A sample contest
listed: false
+ position: 7
---
{% extends 'parent' %}
@@ @@ -15,4 +16,4 @@ listed: false
{% session_assign already_participated = true %}
{% endif %}
- {% endblock %}
\ No newline at end of file
+ {% endblock %}
spec/fixtures/default/app/views/pages/filtered.liquid.haml +1 -0
@@ @@ -1,5 +1,6 @@
---
title: Various uses of the with_scope tag
+ position: 8
---
{% assign begin_date = '2012-06-01 00:00:00' | parse_date_time %}
{% assign end_date = '2012-06-10 23:59:59' | parse_date_time %}
spec/fixtures/default/app/views/pages/grunge_bands.liquid.haml +2 -1
@@ @@ -1,8 +1,9 @@
---
title: Grunge leaders
+ position: 9
---
{% with_scope kind: "grunge" %}
{% for band in contents.bands %}
{{ band.leader }}
{% endfor %}
- {% endwith_scope %}
\ No newline at end of file
+ {% endwith_scope %}
spec/fixtures/default/app/views/pages/tags.liquid +1 -0
@@ @@ -2,4 +2,5 @@
title: Tags
listed: false
published: false
+ position: 10
---
spec/fixtures/default/app/views/pages/unlisted_pages.liquid.haml +2 -1
@@ @@ -1,9 +1,10 @@
---
title: Unlisted pages
+ position: 11
---
%ul
{% with_scope listed: false %}
{% for page in site.pages %}
%li {{ page.title }}
{% endfor %}
- {% endwith_scope %}
\ No newline at end of file
+ {% endwith_scope %}
spec/integration/server/sitemap_spec.rb +3 -3
@@ @@ -73,17 +73,17 @@ describe Locomotive::Steam::Server do
<priority>0.9</priority>
</url>
<url>
- <loc>http://example.org/filtered</loc>
+ <loc>http://example.org/basic</loc>
<lastmod>2015-03-25</lastmod>
<priority>0.9</priority>
</url>
<url>
- <loc>http://example.org/basic</loc>
+ <loc>http://example.org/contest</loc>
<lastmod>2015-03-25</lastmod>
<priority>0.9</priority>
</url>
<url>
- <loc>http://example.org/contest</loc>
+ <loc>http://example.org/filtered</loc>
<lastmod>2015-03-25</lastmod>
<priority>0.9</priority>
</url>