closes #55: fixed tests for previous commit
Ivan Youroff
committed May 23, 2013
commit cec3f1bbfe99f111f771258fd51295367ca056c7
Showing 3
changed files with
2 additions
and 3 deletions
spec/fixtures/default/app/views/pages/index.liquid.haml
+0
-1
| @@ | @@ -90,7 +90,6 @@ title: Home page |
| #footer | |
| #is_templatized{templatized: "{{ page.templatized? }}"} | |
| - | #is_listed{listed: "{{ page.listed? }}"} |
| %p {% locale_switcher %} | |
spec/fixtures/default/app/views/pages/music.liquid.haml
+1
-1
| @@ | @@ -24,5 +24,5 @@ position: 2 |
| {% for song in contents.songs offset: 4 %} | |
| {% include 'song' with song %} | |
| {% endfor %} | |
| - | |
| + | #is_listed{listed: "{{ page.listed? }}"} |
| {% endblock %} | |
| \ No newline at end of file | |
spec/integration/server/liquid_spec.rb
+1
-1
| @@ | @@ -23,7 +23,7 @@ describe Locomotive::Wagon::Server do |
| end | |
| it "converts {{ page.listed? }} => true on listed page" do | |
| - | get '/index' |
| + | get '/music' |
| last_response.body.should =~ /listed=.true./ | |
| end | |