mirror of
https://github.com/drapergem/draper
synced 2023-03-27 23:21:17 -04:00
Add reason for pending spec
This commit is contained in:
parent
7d63298757
commit
b69fe80498
1 changed files with 2 additions and 2 deletions
|
@ -46,8 +46,8 @@ describe PostDecorator do
|
|||
end
|
||||
|
||||
it "serializes to XML" do
|
||||
# Rails < 3.2 does not use `serializable_hash` in `to_xml`
|
||||
pending if Rails.version.to_f < 3.2
|
||||
pending("Rails < 3.2 does not use `serializable_hash` in `to_xml`") if Rails.version.to_f < 3.2
|
||||
|
||||
xml = Capybara.string(decorator.to_xml)
|
||||
expect(xml).to have_css "post > updated-at", text: "overridden"
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue