mirror of
https://github.com/teamcapybara/capybara.git
synced 2022-11-09 12:08:07 -05:00
Color values are serialized in lowercase
According to the spec [1], color values are serialized in lowercase. capybara-webkit returns lowercase values when compiled against Qt 5, while Firefox and Qt 4 return the initial, uppercase value. [1] http://goo.gl/2GK9o
This commit is contained in:
parent
6ee2454240
commit
3962167fff
1 changed files with 1 additions and 1 deletions
|
@ -63,7 +63,7 @@ Capybara::SpecHelper.spec '#click_button' do
|
|||
end
|
||||
|
||||
it "should serialise and submit color fields" do
|
||||
@results['html5_color'].should == '#FFFFFF'
|
||||
@results['html5_color'].upcase.should == '#FFFFFF'
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue