You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
cartodb/spec/lib/carto/styles/polygon_spec.rb

28 lines
702 B

require 'spec_helper_min'
module Carto
module Styles
describe Polygon do
describe '#default' do
let(:production_default_polygon_cartocss) do
"#layer {\n"\
" polygon-fill: #826DBA;\n"\
" polygon-opacity: 0.9;\n"\
" ::outline {\n"\
" line-color: #FFFFFF;\n"\
" line-width: 1;\n"\
" line-opacity: 0.5;\n"\
" }\n"\
"}"
end
it 'has stayed the same' do
current_default_polygon_cartocss = Carto::Styles::Polygon.new.to_cartocss
current_default_polygon_cartocss.should eq production_default_polygon_cartocss
end
end
end
end
end