here, have some ids
Oleg
committed Nov 16, 2011
commit 2e37dcc1061189ab9f9db6924a88e86a8997e37a
Showing 1
changed file with
3 additions
and 3 deletions
test/integration/render_cms_test.rb
+3
-3
| @@ | @@ -22,17 +22,17 @@ class RenderCmsTest < ActionDispatch::IntegrationTest |
| def create_site_b | |
| site = cms_sites(:default).dup | |
| site.update_attributes!( | |
| - | :id => nil, |
| + | :id => 1234567890, |
| :hostname => 'site-b.host', | |
| :label => 'site-b') | |
| layout = cms_layouts(:default).dup | |
| layout.update_attributes!( | |
| - | :id => nil, |
| + | :id => 1234567890, |
| :site => site, | |
| :content => 'site-b {{cms:page:content}}') | |
| page = cms_pages(:default).dup | |
| page.update_attributes!( | |
| - | :id => nil, |
| + | :id => 1234567890, |
| :site => site, | |
| :layout => layout, | |
| :blocks_attributes => [{ :label => 'content', :content => 'SiteBContent' }]) | |