# encoding: UTF-8 require File.expand_path('../../test_helper', __FILE__) class ExtensionsTest < MiniTest::Spec context "String" do should "create paths with String#/" do ("this" / "that").should == "this/that" ("/this" / "/that").should == "/this/that" end end context "Nil" do should "always return the argument for the slash switch" do (nil / "something").should == "something" end end end