spec/lib/roadie/inliner_spec.rb in roadie-2.3.0.pre1 vs spec/lib/roadie/inliner_spec.rb in roadie-2.3.0
- old
+ new
@@ -49,10 +49,10 @@
end
it "combines multiple selectors into one" do
use_css 'p { color: green; }
.tip { float: right; }'
- rendering('<p class="tip"></p>').should have_styling('color' => 'green', 'float' => 'right')
+ rendering('<p class="tip"></p>').should have_styling([['color', 'green'], ['float', 'right']])
end
it "uses the attributes with the highest specificity when conflicts arises" do
use_css "p { color: red; }
.safe { color: green; }"