diff options
author | Louise Crow <louise.crow@gmail.com> | 2014-09-25 13:34:04 +0100 |
---|---|---|
committer | Louise Crow <louise.crow@gmail.com> | 2014-09-25 13:34:04 +0100 |
commit | a7955a74e6812133b7441c4ad2d326cfcbdc077c (patch) | |
tree | f5c7b3b5dc33e0ee236398784b572224e7df03c1 /spec/models | |
parent | c04926740ea6c4b9c445010f457de619b041adbe (diff) |
fixup! Use translation tables for PublicBodyCategory and PublicBodyHeading
Diffstat (limited to 'spec/models')
-rw-r--r-- | spec/models/public_body_heading_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/models/public_body_heading_spec.rb b/spec/models/public_body_heading_spec.rb index 91fd35be8..5d4fa6dd2 100644 --- a/spec/models/public_body_heading_spec.rb +++ b/spec/models/public_body_heading_spec.rb @@ -25,9 +25,9 @@ describe PublicBodyHeading do it 'should use the display_order field to preserve the original data order' do headings = PublicBodyHeading.all headings[0].name.should eq 'Local and regional' - headings[0].display_order.should eq 1 + headings[0].display_order.should eq 0 headings[1].name.should eq 'Miscellaneous' - headings[1].display_order.should eq 2 + headings[1].display_order.should eq 1 end end |