UWE-Ruby/week-04 — Issue #2: Change number to String in spec
Author: mungruby
Created: 2011-10-31 17:34:52+00:00
State: open

I did change one of your tests to put single quotes around the number 20 ('20') in order to be consistent with the other tests. This did not affect whether the tests passed or failed, just cosmetic.

: url_builder_spec.rb

it "should override the default parameters" do
# url_builder(url, :results => 20).should == "#{url}?results=20&sort=asc" - original

url_builder(url, :results => '20').should == "#{url}?results=20&sort=asc"
end