Skip to content

Commit

Permalink
Idem for dependent styles: change RSpec testing for new content cs:ri…
Browse files Browse the repository at this point in the history
…ghts element.
  • Loading branch information
rmzelle committed Sep 10, 2012
1 parent bc440ed commit 367cabc
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions spec/dependent_styles_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,7 @@
end

it "is licensed under a CC BY-SA license" do
style.info.rights.to_s.strip.should ==
'This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License: http://creativecommons.org/licenses/by-sa/3.0/'
(style.info.rights.to_s.strip == 'This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License: http://creativecommons.org/licenses/by-sa/3.0/' || (style.info.rights.to_s.strip == 'This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License' && style.info.rights[:license].should == 'http://creativecommons.org/licenses/by-sa/3.0/')).should be_true
end

it "its independent-parent link points to an existing style" do
Expand Down

0 comments on commit 367cabc

Please sign in to comment.