spec/private/url_parts_spec.rb in usher-0.5.13 vs spec/private/url_parts_spec.rb in usher-0.6.0

- old
+ new

@@ -26,15 +26,15 @@ describe Usher::Util::Generators::URL::UrlParts do include PathAndRequestHelper before :all do - UrlParts = Usher::Util::Generators::URL::UrlParts + ::UrlParts = Usher::Util::Generators::URL::UrlParts end describe "#url" do - describe "when generate_with is provided" do + describe "when generate_with is provided" do before :each do @path = stub_path_with 'https', 'overridden', 9443 @request = rack_request_for 'http://localhost' end @@ -103,14 +103,14 @@ before :each do @path = stub_path @request = mock 'request' end - it "should just extract the url" do + it "should just extract the url" do @request.should_receive(:url).and_return('http://localhost') url_parts = UrlParts.new(@path, @request) url_parts.url.should == 'http://localhost' end end end -end \ No newline at end of file +end